This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r144770 - in /trunk/libstdc++-v3: ChangeLog inc...
- From: paolo at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Wed, 11 Mar 2009 01:52:00 -0000
- Subject: r144770 - in /trunk/libstdc++-v3: ChangeLog inc...
Author: paolo
Date: Wed Mar 11 01:51:59 2009
New Revision: 144770
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144770
Log:
2009-03-10 Paolo Carlini <paolo.carlini@oracle.com>
* include/std/complex (operator+(const complex<>&, const _Tp&),
operator+(const _Tp&, const complex<>&),
operator-(const complex<>&, const _Tp&),
operator-(const _Tp&, const complex<>&)): Do not assume real()
returns a reference (against DR 387).
* testsuite/26_numerics/complex/dr387_2.cc: New.
Added:
trunk/libstdc++-v3/testsuite/26_numerics/complex/dr387_2.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/std/complex