This is the mail archive of the libstdc++-cvs@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r244900 - in /trunk/libstdc++-v3: ChangeLog inc...


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]