* include/bits/std_complex.h (conj): Undo double removal.

From-SVN: r37311
This commit is contained in:
Gabriel Dos Reis 2000-11-08 03:01:39 +00:00 committed by Gabriel Dos Reis
parent 6623457026
commit 6e124e38ba
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2000-11-06 Gabriel Dos Reis <gdr@codesourcery.com>
* include/bits/std_complex.h (conj): Undo double removal.
2000-11-06 Alexandre Oliva <aoliva@redhat.com>
* acinclude.m4 (LIB_AC_PROG_CXX): Remove CXX from the list of

View File

@ -913,6 +913,11 @@ namespace std
polar(const _Tp& __rho, const _Tp& __theta)
{ return complex<_Tp>(__rho * cos(__theta), __rho * sin(__theta)); }
template<typename _Tp>
inline complex<_Tp>
conj(const complex<_Tp>& __z)
{ return complex<_Tp>(__z.real(), -__z.imag()); }
// // We use here a few more specializations.
// template<>
// inline complex<float>