array_allocator.h: Replace uses of __GXX_EXPERIMENTAL_CXX0X__ with __cplusplus.

* include/ext/array_allocator.h: Replace uses of
	__GXX_EXPERIMENTAL_CXX0X__ with __cplusplus.

From-SVN: r193644
This commit is contained in:
Jonathan Wakely 2012-11-20 00:24:18 +00:00 committed by Jonathan Wakely
parent b51eb4ffa1
commit 6b1328eb3c
2 changed files with 7 additions and 2 deletions

View 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

View 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;