30 #ifndef _GLIBCXX_EXPERIMENTAL_VECTOR 31 #define _GLIBCXX_EXPERIMENTAL_VECTOR 1 33 #ifdef _GLIBCXX_SYSHDR 34 #pragma GCC system_header 39 #if __cplusplus >= 201402L 45 namespace std _GLIBCXX_VISIBILITY(default)
47 _GLIBCXX_BEGIN_NAMESPACE_VERSION
49 namespace experimental
51 inline namespace fundamentals_v2
53 #define __cpp_lib_experimental_erase_if 201411 55 template<
typename _Tp,
typename _Alloc,
typename _Predicate>
57 erase_if(vector<_Tp, _Alloc>&
__cont, _Predicate __pred)
59 __cont.erase(std::remove_if(__cont.begin(), __cont.end(), __pred),
63 template<
typename _Tp,
typename _Alloc,
typename _Up>
65 erase(vector<_Tp, _Alloc>& __cont,
const _Up& __value)
67 __cont.erase(std::remove(__cont.begin(), __cont.end(), __value),
72 template<
typename _Tp>
79 _GLIBCXX_END_NAMESPACE_VERSION
84 #endif // _GLIBCXX_EXPERIMENTAL_VECTOR A standard container which offers fixed time access to individual elements in any order...
ISO C++ entities toplevel namespace is std.