30 #ifndef _GLIBCXX_EXPERIMENTAL_STRING
31 #define _GLIBCXX_EXPERIMENTAL_STRING 1
33 #pragma GCC system_header
35 #if __cplusplus >= 201402L
41 namespace std _GLIBCXX_VISIBILITY(default)
43 _GLIBCXX_BEGIN_NAMESPACE_VERSION
45 namespace experimental
47 inline namespace fundamentals_v2
49 template<
typename _CharT,
typename _Traits,
typename _Alloc,
52 erase_if(basic_string<_CharT, _Traits, _Alloc>& __cont, _Predicate __pred)
54 __cont.erase(std::remove_if(__cont.begin(), __cont.end(), __pred),
58 template<
typename _CharT,
typename _Traits,
typename _Alloc,
typename _Up>
60 erase(basic_string<_CharT, _Traits, _Alloc>& __cont,
const _Up& __value)
62 __cont.erase(std::remove(__cont.begin(), __cont.end(), __value),
66 #if _GLIBCXX_USE_CXX11_ABI
70 template<
typename _CharT,
typename _Traits =
char_traits<_CharT>>
76 typedef basic_string<char>
string;
77 #ifdef _GLIBCXX_USE_CHAR8_T
78 typedef basic_string<char8_t> u8string;
82 typedef basic_string<wchar_t>
wstring;
89 _GLIBCXX_END_NAMESPACE_VERSION
94 #endif // _GLIBCXX_EXPERIMENTAL_STRING
basic_string< wchar_t > wstring
A string of wchar_t.
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.
basic_string< char32_t > u32string
A string of char32_t.