Commit 9c0717ed by Edward Smith-Rowland Committed by Edward Smith-Rowland

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
parent 0a09a3be
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 <jwakely@redhat.com> 2015-05-01 Jonathan Wakely <jwakely@redhat.com>
* include/experimental/memory: Correct feature-test macro. * include/experimental/memory: Correct feature-test macro.
......
...@@ -46,6 +46,8 @@ inline namespace fundamentals_v2 ...@@ -46,6 +46,8 @@ inline namespace fundamentals_v2
{ {
_GLIBCXX_BEGIN_NAMESPACE_VERSION _GLIBCXX_BEGIN_NAMESPACE_VERSION
#define __cpp_lib_experimental_erase_if 201411
template<typename _Tp, typename _Alloc, typename _Predicate> template<typename _Tp, typename _Alloc, typename _Predicate>
void void
erase_if(deque<_Tp, _Alloc>& __cont, _Predicate __pred) erase_if(deque<_Tp, _Alloc>& __cont, _Predicate __pred)
......
...@@ -45,6 +45,8 @@ inline namespace fundamentals_v2 ...@@ -45,6 +45,8 @@ inline namespace fundamentals_v2
{ {
_GLIBCXX_BEGIN_NAMESPACE_VERSION _GLIBCXX_BEGIN_NAMESPACE_VERSION
#define __cpp_lib_experimental_erase_if 201411
template<typename _Tp, typename _Alloc, typename _Predicate> template<typename _Tp, typename _Alloc, typename _Predicate>
inline void inline void
erase_if(forward_list<_Tp, _Alloc>& __cont, _Predicate __pred) erase_if(forward_list<_Tp, _Alloc>& __cont, _Predicate __pred)
......
...@@ -45,6 +45,8 @@ inline namespace fundamentals_v2 ...@@ -45,6 +45,8 @@ inline namespace fundamentals_v2
{ {
_GLIBCXX_BEGIN_NAMESPACE_VERSION _GLIBCXX_BEGIN_NAMESPACE_VERSION
#define __cpp_lib_experimental_erase_if 201411
template<typename _Tp, typename _Alloc, typename _Predicate> template<typename _Tp, typename _Alloc, typename _Predicate>
inline void inline void
erase_if(list<_Tp, _Alloc>& __cont, _Predicate __pred) erase_if(list<_Tp, _Alloc>& __cont, _Predicate __pred)
......
...@@ -46,6 +46,8 @@ inline namespace fundamentals_v2 ...@@ -46,6 +46,8 @@ inline namespace fundamentals_v2
{ {
_GLIBCXX_BEGIN_NAMESPACE_VERSION _GLIBCXX_BEGIN_NAMESPACE_VERSION
#define __cpp_lib_experimental_erase_if 201411
template<typename _Key, typename _Tp, typename _Compare, typename _Alloc, template<typename _Key, typename _Tp, typename _Compare, typename _Alloc,
typename _Predicate> typename _Predicate>
inline void inline void
......
...@@ -46,6 +46,8 @@ inline namespace fundamentals_v2 ...@@ -46,6 +46,8 @@ inline namespace fundamentals_v2
{ {
_GLIBCXX_BEGIN_NAMESPACE_VERSION _GLIBCXX_BEGIN_NAMESPACE_VERSION
#define __cpp_lib_experimental_erase_if 201411
template<typename _Key, typename _Compare, typename _Alloc, template<typename _Key, typename _Compare, typename _Alloc,
typename _Predicate> typename _Predicate>
inline void inline void
......
...@@ -46,6 +46,8 @@ inline namespace fundamentals_v2 ...@@ -46,6 +46,8 @@ inline namespace fundamentals_v2
{ {
_GLIBCXX_BEGIN_NAMESPACE_VERSION _GLIBCXX_BEGIN_NAMESPACE_VERSION
#define __cpp_lib_experimental_erase_if 201411
template<typename _CharT, typename _Traits, typename _Alloc, template<typename _CharT, typename _Traits, typename _Alloc,
typename _Predicate> typename _Predicate>
inline void inline void
......
...@@ -46,6 +46,8 @@ inline namespace fundamentals_v2 ...@@ -46,6 +46,8 @@ inline namespace fundamentals_v2
{ {
_GLIBCXX_BEGIN_NAMESPACE_VERSION _GLIBCXX_BEGIN_NAMESPACE_VERSION
#define __cpp_lib_experimental_erase_if 201411
template<typename _Key, typename _Tp, typename _Hash, typename _CPred, template<typename _Key, typename _Tp, typename _Hash, typename _CPred,
typename _Alloc, typename _Predicate> typename _Alloc, typename _Predicate>
inline void inline void
......
...@@ -46,6 +46,8 @@ inline namespace fundamentals_v2 ...@@ -46,6 +46,8 @@ inline namespace fundamentals_v2
{ {
_GLIBCXX_BEGIN_NAMESPACE_VERSION _GLIBCXX_BEGIN_NAMESPACE_VERSION
#define __cpp_lib_experimental_erase_if 201411
template<typename _Key, typename _Hash, typename _CPred, typename _Alloc, template<typename _Key, typename _Hash, typename _CPred, typename _Alloc,
typename _Predicate> typename _Predicate>
inline void inline void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment