30#ifndef _GLIBCXX_EXPERIMENTAL_FORWARD_LIST
31#define _GLIBCXX_EXPERIMENTAL_FORWARD_LIST 1
34#pragma GCC system_header
39#if __cplusplus >= 201402L
44namespace std _GLIBCXX_VISIBILITY(default)
46_GLIBCXX_BEGIN_NAMESPACE_VERSION
50inline namespace fundamentals_v2
52 template<
typename _Tp,
typename _Alloc,
typename _Predicate>
54 erase_if(forward_list<_Tp, _Alloc>& __cont, _Predicate __pred)
55 { __cont.remove_if(__pred); }
57 template<
typename _Tp,
typename _Alloc,
typename _Up>
59 erase(forward_list<_Tp, _Alloc>& __cont,
const _Up& __value)
61 using __elem_type =
typename forward_list<_Tp, _Alloc>::value_type;
62 std::experimental::erase_if(__cont, [&](__elem_type& __elem) {
63 return __elem == __value;
68 template<
typename _Tp>
69 using forward_list = std::forward_list<_Tp, polymorphic_allocator<_Tp>>;
75_GLIBCXX_END_NAMESPACE_VERSION
ISO C++ entities toplevel namespace is std.
Namespace for features defined in ISO Technical Specifications.