]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR c++/15339 ([DR217] Adding default arguments to function templates in redeclarat...
authorPaolo Carlini <paolo.carlini@oracle.com>
Sat, 2 Aug 2014 21:38:34 +0000 (21:38 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sat, 2 Aug 2014 21:38:34 +0000 (21:38 +0000)
2014-08-02  Paolo Carlini  <paolo.carlini@oracle.com>

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

From-SVN: r213520

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/26_numerics/headers/complex/synopsis.cc

index cc2a54835820813d2f5ad82fba0e6fb892e5c655..15422ae971372e7b99a5923245a5a5292b329c98 100644 (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
index 64b5b2e5eb1b6e56bbd1077c091e23e001389f70..4f08c78e7cc5ba728ea6e278f6787972e1cc0d63 100644 (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>&);