]> git.ipfire.org Git - thirdparty/gcc.git/commit
complex (complex<float>::operator=(float), [...]): Simplify a tad...
authorPaolo Carlini <paolo.carlini@oracle.com>
Thu, 16 Sep 2010 12:39:13 +0000 (12:39 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 16 Sep 2010 12:39:13 +0000 (12:39 +0000)
commitf941c3e2122d574412d351c69ddb634c2260683d
tree576463cec9dd097b28ec6d73cc960383ecb55385
parent65592aadaf607bdcfb29ef7fbe6464043fb32d51
complex (complex<float>::operator=(float), [...]): Simplify a tad...

2010-09-16  Paolo Carlini  <paolo.carlini@oracle.com>

* include/std/complex (complex<float>::operator=(float),
complex<float>::operator+=(float),
complex<float>::operator-=(float),
complex<double>::operator=(double),
complex<double>::operator+=(double),
complex<double>::operator-=(double),
complex<long double>::operator=(long double),
complex<long double>::operator+=(long double),
complex<long double>::operator-=(long double)): Simplify a tad,
just forward to the underlying __complex__ T operators, as
operator*= and operator/= already do.

* include/std/complex (complex<float>, complex<double>,
complex<long double>): Simplify spelling of return types, just
say complex, instead of complex<float>, complex<double>,
complex<long double>, respectively.

From-SVN: r164337
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/complex