30 #ifndef _GLIBCXX_EXPERIMENTAL_ERASE_IF_H 31 #define _GLIBCXX_EXPERIMENTAL_ERASE_IF_H 1 33 #pragma GCC system_header 35 #if __cplusplus <= 201103L 42 namespace experimental
44 inline namespace fundamentals_v2
48 _GLIBCXX_BEGIN_NAMESPACE_VERSION
49 template<
typename _Container,
typename _Predicate>
51 __erase_nodes_if(_Container& __cont, _Predicate __pred)
53 for (
auto __iter = __cont.begin(), __last = __cont.end();
57 __iter = __cont.erase(__iter);
62 _GLIBCXX_END_NAMESPACE_VERSION
70 #endif // _GLIBCXX_EXPERIMENTAL_ERASE_IF_H
ISO C++ entities toplevel namespace is std.