Commit 2821a748 by Paolo Carlini Committed by Paolo Carlini

re PR c++/15339 ([DR217] Adding default arguments to function templates in…

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
parent e83a4a2e
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
......
......@@ -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>&);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment