30#ifndef _GLIBCXX_ERASE_IF_H
31#define _GLIBCXX_ERASE_IF_H 1
33#pragma GCC system_header
35#if __cplusplus >= 201402L
41_GLIBCXX_BEGIN_NAMESPACE_VERSION
43#if __cplusplus > 201703L
44# define __cpp_lib_erase_if 202002L
49 template<
typename _Container,
typename _Predicate>
50 typename _Container::size_type
51 __erase_nodes_if(_Container& __cont, _Predicate __pred)
53 typename _Container::size_type __num = 0;
54 for (
auto __iter = __cont.begin(), __last = __cont.end();
59 __iter = __cont.erase(__iter);
69_GLIBCXX_END_NAMESPACE_VERSION
ISO C++ entities toplevel namespace is std.