re PR c++/15339 ([DR217] Adding default arguments to function templates in redeclarations should be forbidden)

2014-08-02  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/15339
	* testsuite/26_numerics/headers/complex/synopsis.cc: Fix.

From-SVN: r213520
This commit is contained in:
Paolo Carlini 2014-08-02 21:38:34 +00:00 committed by Paolo Carlini
parent e83a4a2e40
commit 2821a748d1
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-08-02 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/15339
* testsuite/26_numerics/headers/complex/synopsis.cc: Fix.
2014-08-01 Zifei Tong <zifeitong@gmail.com>
* libsupc++/atexit_thread.cc (HAVE___CXA_THREAD_ATEXIT_IMPL): Add

View File

@ -72,7 +72,7 @@ namespace std {
template<class T> T arg(const complex<T>&);
template<class T> T norm(const complex<T>&);
template<class T> complex<T> conj(const complex<T>&);
template<class T> complex<T> polar(const T& rho, const T& theta = 0);
template<class T> complex<T> polar(const T& rho, const T& theta);
// 26.2.8 transcendentals:
template<class T> complex<T> cos(const complex<T>&);