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 <[EMAIL PROTECTED]>
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!