array_allocator.h: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus.
authorJonathan Wakely <jwakely.gcc@gmail.com>
Tue, 20 Nov 2012 00:24:18 +0000 (00:24 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 20 Nov 2012 00:24:18 +0000 (00:24 +0000)
* include/ext/array_allocator.h: Replace uses of
__GXX_EXPERIMENTAL_CXX0X__ with __cplusplus.

From-SVN: r193644

libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/array_allocator.h

index f96cf7a8e844777638058d64a0c4fbda6fb207b3..3ced7cf421ef237ea8542eb864c78dc8a909c20c 100644 (file)
@@ -1,3 +1,8 @@
+2012-11-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * include/ext/array_allocator.h: Replace uses of
+       __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus.
+
 2012-11-19  Jonathan Wakely  <jwakely.gcc@gmail.com>
 
        * testsuite/20_util/allocator/requirements/typedefs.cc: Check rebind
index 736ae02373e9b86d2c746f1d3abaa295e9d7d2f1..f3a857283719af4ee41a7720d61aca7314894c44 100644 (file)
@@ -34,7 +34,7 @@
 #include <bits/functexcept.h>
 #include <tr1/array>
 #include <bits/move.h>
-#ifdef __GXX_EXPERIMENTAL_CXX0X__
+#if __cplusplus >= 201103L
 #include <type_traits>
 #endif
 
@@ -115,7 +115,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
       typedef _Tp              value_type;
       typedef _Array           array_type;
 
-#ifdef __GXX_EXPERIMENTAL_CXX0X__
+#if __cplusplus >= 201103L
       // _GLIBCXX_RESOLVE_LIB_DEFECTS
       // 2103. std::allocator propagate_on_container_move_assignment
       typedef std::true_type propagate_on_container_move_assignment;