2008-05-25 Paolo Carlini <paolo.carlini@oracle.com>
commit8c449bbb62bbe304a49e3465f13a6a92de7e73a3
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 25 May 2008 18:59:19 +0000 (25 18:59 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 25 May 2008 18:59:19 +0000 (25 18:59 +0000)
treeb3a4f720e115cd023d9f9984f7ecd887e8198454
parent2cbaf336689c6ce446b680d823324be3bf631c1c
2008-05-25  Paolo Carlini  <paolo.carlini@oracle.com>

* include/std/complex (complex<>::real(_Tp), complex<>::imag(_Tp),
complex<float>::real(float), complex<float>::imag(float),
complex<double>::real(double), complex<double>::imag(double),
complex<long double>::real(long double),
complex<long double>::imag(long double)): Add per DR 387.
(complex<>::real(), complex<>::imag(), complex<float>::real(),
complex<float>::imag(), complex<double>::real(),
complex<double>::imag(), complex<long double>::real(),
complex<long double>::imag(long double)): Adjust in C++0x mode.
(real(complex<>&), imag(complex<>&), real(const complex<>&),
imag(const complex<>&)): Likewise.
* testsuite/26_numerics/complex/dr387.cc: New.
* doc/xml/manual/intro.xml: Add an entry for DR 387.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135878 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/doc/xml/manual/intro.xml
libstdc++-v3/include/std/complex
libstdc++-v3/testsuite/26_numerics/complex/dr387.cc [new file with mode: 0644]