stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r519191 - /incubator/stdcxx/trunk/etc/config/src/INSTANTIATE_DEFAULT_ARGS.cpp
Date Sat, 17 Mar 2007 00:06:08 GMT
Author: sebor
Date: Fri Mar 16 17:06:08 2007
New Revision: 519191

URL: http://svn.apache.org/viewvc?view=rev&rev=519191
Log:
2007-03-16  Martin Sebor  <sebor@roguewave.com>

	* INSTANTIATE_DEFAULT_ARGS.cpp (bar): Removed a duplicate definition.	

Modified:
    incubator/stdcxx/trunk/etc/config/src/INSTANTIATE_DEFAULT_ARGS.cpp

Modified: incubator/stdcxx/trunk/etc/config/src/INSTANTIATE_DEFAULT_ARGS.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/src/INSTANTIATE_DEFAULT_ARGS.cpp?view=diff&rev=519191&r1=519190&r2=519191
==============================================================================
--- incubator/stdcxx/trunk/etc/config/src/INSTANTIATE_DEFAULT_ARGS.cpp (original)
+++ incubator/stdcxx/trunk/etc/config/src/INSTANTIATE_DEFAULT_ARGS.cpp Fri Mar 16 17:06:08
2007
@@ -10,11 +10,11 @@
     void foo (const T& = T ()) { }
 
     // must be able to use non-existent members
-    void bar (const T& = T::foobar ()) { }
+    void bar (const T& = T::foobar ());
 };
 
 template <class T>
-void A<T>::bar (const T&) { }
+void A<T>::bar (const T& /* = T::foobar () */) { }
 
 struct B
 {



Mime
View raw message