From 9c0717ed3ff9ba969d13ab6a4277a509dd641aed Mon Sep 17 00:00:00 2001 From: Edward Smith-Rowland <3dw4rd@verizon.net> Date: Sat, 2 May 2015 02:01:35 +0000 Subject: [PATCH] deque: Add feature-test macro. 2015-05-02 Edward Smith-Rowland <3dw4rd@verizon.net> * include/experimental/deque: Add feature-test macro. * include/experimental/forward_list: Ditto. * include/experimental/list: Ditto. * include/experimental/map: Ditto. * include/experimental/set: Ditto. * include/experimental/string: Ditto. * include/experimental/unordered_map: Ditto. * include/experimental/unordered_set: Ditto. From-SVN: r222713 --- libstdc++-v3/ChangeLog | 11 +++++++++++ libstdc++-v3/include/experimental/deque | 2 ++ libstdc++-v3/include/experimental/forward_list | 2 ++ libstdc++-v3/include/experimental/list | 2 ++ libstdc++-v3/include/experimental/map | 2 ++ libstdc++-v3/include/experimental/set | 2 ++ libstdc++-v3/include/experimental/string | 2 ++ libstdc++-v3/include/experimental/unordered_map | 2 ++ libstdc++-v3/include/experimental/unordered_set | 2 ++ 9 files changed, 27 insertions(+) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index b554c0599a0..efea855af30 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,14 @@ +2015-05-02 Edward Smith-Rowland <3dw4rd@verizon.net> + + * include/experimental/deque: Add feature-test macro. + * include/experimental/forward_list: Ditto. + * include/experimental/list: Ditto. + * include/experimental/map: Ditto. + * include/experimental/set: Ditto. + * include/experimental/string: Ditto. + * include/experimental/unordered_map: Ditto. + * include/experimental/unordered_set: Ditto. + 2015-05-01 Jonathan Wakely * include/experimental/memory: Correct feature-test macro. diff --git a/libstdc++-v3/include/experimental/deque b/libstdc++-v3/include/experimental/deque index 8d3d8951e3a..7561e895566 100644 --- a/libstdc++-v3/include/experimental/deque +++ b/libstdc++-v3/include/experimental/deque @@ -46,6 +46,8 @@ inline namespace fundamentals_v2 { _GLIBCXX_BEGIN_NAMESPACE_VERSION +#define __cpp_lib_experimental_erase_if 201411 + template void erase_if(deque<_Tp, _Alloc>& __cont, _Predicate __pred) diff --git a/libstdc++-v3/include/experimental/forward_list b/libstdc++-v3/include/experimental/forward_list index e7e6b33bd00..69719db62e5 100644 --- a/libstdc++-v3/include/experimental/forward_list +++ b/libstdc++-v3/include/experimental/forward_list @@ -45,6 +45,8 @@ inline namespace fundamentals_v2 { _GLIBCXX_BEGIN_NAMESPACE_VERSION +#define __cpp_lib_experimental_erase_if 201411 + template inline void erase_if(forward_list<_Tp, _Alloc>& __cont, _Predicate __pred) diff --git a/libstdc++-v3/include/experimental/list b/libstdc++-v3/include/experimental/list index 41d6e1dcbdc..efd008b3a1c 100644 --- a/libstdc++-v3/include/experimental/list +++ b/libstdc++-v3/include/experimental/list @@ -45,6 +45,8 @@ inline namespace fundamentals_v2 { _GLIBCXX_BEGIN_NAMESPACE_VERSION +#define __cpp_lib_experimental_erase_if 201411 + template inline void erase_if(list<_Tp, _Alloc>& __cont, _Predicate __pred) diff --git a/libstdc++-v3/include/experimental/map b/libstdc++-v3/include/experimental/map index e4b3620e671..46db963530a 100644 --- a/libstdc++-v3/include/experimental/map +++ b/libstdc++-v3/include/experimental/map @@ -46,6 +46,8 @@ inline namespace fundamentals_v2 { _GLIBCXX_BEGIN_NAMESPACE_VERSION +#define __cpp_lib_experimental_erase_if 201411 + template inline void diff --git a/libstdc++-v3/include/experimental/set b/libstdc++-v3/include/experimental/set index c742d9187f5..3fd184ec80f 100644 --- a/libstdc++-v3/include/experimental/set +++ b/libstdc++-v3/include/experimental/set @@ -46,6 +46,8 @@ inline namespace fundamentals_v2 { _GLIBCXX_BEGIN_NAMESPACE_VERSION +#define __cpp_lib_experimental_erase_if 201411 + template inline void diff --git a/libstdc++-v3/include/experimental/string b/libstdc++-v3/include/experimental/string index 2a04ce0d72d..dddccf59b56 100644 --- a/libstdc++-v3/include/experimental/string +++ b/libstdc++-v3/include/experimental/string @@ -46,6 +46,8 @@ inline namespace fundamentals_v2 { _GLIBCXX_BEGIN_NAMESPACE_VERSION +#define __cpp_lib_experimental_erase_if 201411 + template inline void diff --git a/libstdc++-v3/include/experimental/unordered_map b/libstdc++-v3/include/experimental/unordered_map index d3a578efe3a..10901c7c4b8 100644 --- a/libstdc++-v3/include/experimental/unordered_map +++ b/libstdc++-v3/include/experimental/unordered_map @@ -46,6 +46,8 @@ inline namespace fundamentals_v2 { _GLIBCXX_BEGIN_NAMESPACE_VERSION +#define __cpp_lib_experimental_erase_if 201411 + template inline void diff --git a/libstdc++-v3/include/experimental/unordered_set b/libstdc++-v3/include/experimental/unordered_set index 2e5e08a9609..80719a177bc 100644 --- a/libstdc++-v3/include/experimental/unordered_set +++ b/libstdc++-v3/include/experimental/unordered_set @@ -46,6 +46,8 @@ inline namespace fundamentals_v2 { _GLIBCXX_BEGIN_NAMESPACE_VERSION +#define __cpp_lib_experimental_erase_if 201411 + template inline void -- 2.30.2