diff options
| author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-01-26 10:34:53 +0000 |
|---|---|---|
| committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-01-26 10:34:53 +0000 |
| commit | 356ae5351920b732762f99162eb6732966608165 (patch) | |
| tree | 8649195ff92300ce4f1438e8b0637e1bc93132c4 /libstdc++-v3/include/std/std_complex.h | |
| parent | c5f23d18de7baa78e26cfe883a2fd9ca5661ba8f (diff) | |
| download | ppe42-gcc-356ae5351920b732762f99162eb6732966608165.tar.gz ppe42-gcc-356ae5351920b732762f99162eb6732966608165.zip | |
2005-01-26 Paolo Carlini <pcarlini@suse.de>
* acinclude.m4 ([GLIBCXX_ENABLE_C99]): Add ac_c99_complex
to the final test for enable_c99, thus robustifying it; remove
duplicate final test on ac_99_math.
* configure: Regenerate.
* include/std/std_complex.h: Remove usages of the dead
_GLIBCXX_BUGGY_COMPLEX macro.
* testsuite/26_numerics/cmath/19322.cc: Protect with
_GLIBCXX_USE_C99_MATH instead of the stronger _GLIBCXX_USE_C99,
since only C99 math facilities are involved.
* testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94257 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/std/std_complex.h')
| -rw-r--r-- | libstdc++-v3/include/std/std_complex.h | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/libstdc++-v3/include/std/std_complex.h b/libstdc++-v3/include/std/std_complex.h index da322ab3a44..2ef5817755e 100644 --- a/libstdc++-v3/include/std/std_complex.h +++ b/libstdc++-v3/include/std/std_complex.h @@ -995,9 +995,7 @@ namespace std complex(_ComplexT __z) : _M_value(__z) { } complex(float = 0.0f, float = 0.0f); -#if _GLIBCXX_BUGGY_COMPLEX - complex(const complex& __z) : _M_value(__z._M_value) { } -#endif + explicit complex(const complex<double>&); explicit complex(const complex<long double>&); @@ -1150,10 +1148,8 @@ namespace std complex(_ComplexT __z) : _M_value(__z) { } - complex(double = 0.0, double = 0.0); -#if _GLIBCXX_BUGGY_COMPLEX - complex(const complex& __z) : _M_value(__z._M_value) { } -#endif + complex(double = 0.0, double = 0.0); + complex(const complex<float>&); explicit complex(const complex<long double>&); @@ -1306,9 +1302,7 @@ namespace std complex(_ComplexT __z) : _M_value(__z) { } complex(long double = 0.0L, long double = 0.0L); -#if _GLIBCXX_BUGGY_COMPLEX - complex(const complex& __z) : _M_value(__z._M_value) { } -#endif + complex(const complex<float>&); complex(const complex<double>&); |

