stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elemi...@apache.org
Subject svn commit: r671972 - /stdcxx/branches/4.3.x/tests/intro/17.names.cpp
Date Thu, 26 Jun 2008 18:17:08 GMT
Author: elemings
Date: Thu Jun 26 11:17:08 2008
New Revision: 671972

URL: http://svn.apache.org/viewvc?rev=671972&view=rev
Log:
2008-06-26  Eric Lemings <eric.lemings@roguewave.com>

	STDCXX-958
	* tests/intro/17.names.cpp: C++0x `reference_wrapper' class
	template requires `type' member so replace `type' name with
	`!ERROR!' only when not building with C++0x extensions.


Modified:
    stdcxx/branches/4.3.x/tests/intro/17.names.cpp

Modified: stdcxx/branches/4.3.x/tests/intro/17.names.cpp
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.3.x/tests/intro/17.names.cpp?rev=671972&r1=671971&r2=671972&view=diff
==============================================================================
--- stdcxx/branches/4.3.x/tests/intro/17.names.cpp (original)
+++ stdcxx/branches/4.3.x/tests/intro/17.names.cpp Thu Jun 26 11:17:08 2008
@@ -554,7 +554,12 @@
 #define Tp                      !ERROR!
 #define traits                  !ERROR!
 #define Traits                  !ERROR!
-#define type                    !ERROR!
+
+#ifdef _RWSTD_NO_EXT_CXX_0X
+// required member of reference_wrapper
+#  define type                    !ERROR!
+#endif
+
 #define Type                    !ERROR!
 #define UCHAR                   !ERROR!
 #define UINT                    !ERROR!



Mime
View raw message