29 #ifndef _GLIBCXX_EXPERIMENTAL_STRING
30 #define _GLIBCXX_EXPERIMENTAL_STRING 1
32 #pragma GCC system_header
34 #if __cplusplus >= 201402L
40 namespace std _GLIBCXX_VISIBILITY(default)
42 _GLIBCXX_BEGIN_NAMESPACE_VERSION
44 namespace experimental
46 inline namespace fundamentals_v2
48 template<
typename _CharT,
typename _Traits,
typename _Alloc,
51 erase_if(basic_string<_CharT, _Traits, _Alloc>& __cont, _Predicate __pred)
53 __cont.erase(std::remove_if(__cont.begin(), __cont.end(), __pred),
57 template<
typename _CharT,
typename _Traits,
typename _Alloc,
typename _Up>
59 erase(basic_string<_CharT, _Traits, _Alloc>& __cont,
const _Up& __value)
61 __cont.erase(std::remove(__cont.begin(), __cont.end(), __value),
65 #if _GLIBCXX_USE_CXX11_ABI
69 template<
typename _CharT,
typename _Traits =
char_traits<_CharT>>
75 typedef basic_string<char>
string;
76 #ifdef _GLIBCXX_USE_CHAR8_T
77 typedef basic_string<char8_t> u8string;
81 typedef basic_string<wchar_t>
wstring;
88 _GLIBCXX_END_NAMESPACE_VERSION
93 #endif // _GLIBCXX_EXPERIMENTAL_STRING
basic_string< char32_t > u32string
A string of char32_t.
basic_string< wchar_t > wstring
A string of wchar_t.
_GLIBCXX_END_NAMESPACE_CXX11 typedef basic_string< char > string
A string of char.
basic_string< char16_t > u16string
A string of char16_t.
Managing sequences of characters and character-like objects.