r244900 - in /trunk/libstdc++-v3: ChangeLog inc...
redi@gcc.gnu.org
redi@gcc.gnu.org
Wed Jan 25 15:01:00 GMT 2017
Author: redi
Date: Wed Jan 25 15:01:05 2017
New Revision: 244900
URL: https://gcc.gnu.org/viewcvs?rev=244900&root=gcc&view=rev
Log:
PR libstdc++/70607 make proj(T) and conj(T) return complex<T>
PR libstdc++/61791
PR libstdc++/70607
* include/std/complex (real(T), imag(T)): Add _GLIBCXX_CONSTEXPR.
(proj(T), conj(T)): Change return types per DR 1522.
* include/tr1/complex (conj): Remove overloads and use std::conj.
* testsuite/26_numerics/complex/dr781_dr1137.cc: Rename to...
* testsuite/26_numerics/complex/dr781.cc: ... this, and update.
* testsuite/26_numerics/complex/value_operations/constexpr2.cc: Test
real(T) and imag(T). Allow testing for C++11 too.
Added:
trunk/libstdc++-v3/testsuite/26_numerics/complex/dr781.cc
- copied, changed from r244898, trunk/libstdc++-v3/testsuite/26_numerics/complex/dr781_dr1137.cc
Removed:
trunk/libstdc++-v3/testsuite/26_numerics/complex/dr781_dr1137.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/std/complex
trunk/libstdc++-v3/include/tr1/complex
trunk/libstdc++-v3/testsuite/26_numerics/complex/value_operations/constexpr2.cc
More information about the Libstdc++-cvs
mailing list