Lines Matching refs:basic_string

77 class basic_string
97 basic_string()
99 explicit basic_string(const allocator_type& a);
100 basic_string(const basic_string& str);
101 basic_string(basic_string&& str)
103 basic_string(const basic_string& str, size_type pos,
105 basic_string(const basic_string& str, size_type pos, size_type n,
108basic_string(const T& t, size_type pos, size_type n, const Allocator& a = Allocator()); // C++17
110 explicit basic_string(const T& t, const Allocator& a = Allocator()); // C++17
111 basic_string(const value_type* s, const allocator_type& a = allocator_type());
112 basic_string(const value_type* s, size_type n, const allocator_type& a = allocator_type());
113 basic_string(nullptr_t) = delete; // C++2b
114 basic_string(size_type n, value_type c, const allocator_type& a = allocator_type());
116 basic_string(InputIterator begin, InputIterator end,
118 basic_string(initializer_list<value_type>, const Allocator& = Allocator());
119 basic_string(const basic_string&, const Allocator&);
120 basic_string(basic_string&&, const Allocator&);
122 ~basic_string();
126 basic_string& operator=(const basic_string& str);
128 basic_string& operator=(const T& t); // C++17
129 basic_string& operator=(basic_string&& str)
133 basic_string& operator=(const value_type* s);
134 basic_string& operator=(nullptr_t) = delete; // C++2b
135 basic_string& operator=(value_type c);
136 basic_string& operator=(initializer_list<value_type>);
173 basic_string& operator+=(const basic_string& str);
175 basic_string& operator+=(const T& t); // C++17
176 basic_string& operator+=(const value_type* s);
177 basic_string& operator+=(value_type c);
178 basic_string& operator+=(initializer_list<value_type>);
180 basic_string& append(const basic_string& str);
182 basic_string& append(const T& t); // C++17
183 basic_string& append(const basic_string& str, size_type pos, size_type n=npos); //C++14
185 basic_string& append(const T& t, size_type pos, size_type n=npos); // C++17
186 basic_string& append(const value_type* s, size_type n);
187 basic_string& append(const value_type* s);
188 basic_string& append(size_type n, value_type c);
190 basic_string& append(InputIterator first, InputIterator last);
191 basic_string& append(initializer_list<value_type>);
200 basic_string& assign(const basic_string& str);
202 basic_string& assign(const T& t); // C++17
203 basic_string& assign(basic_string&& str);
204 basic_string& assign(const basic_string& str, size_type pos, size_type n=npos); // C++14
206 basic_string& assign(const T& t, size_type pos, size_type n=npos); // C++17
207 basic_string& assign(const value_type* s, size_type n);
208 basic_string& assign(const value_type* s);
209 basic_string& assign(size_type n, value_type c);
211 basic_string& assign(InputIterator first, InputIterator last);
212 basic_string& assign(initializer_list<value_type>);
214 basic_string& insert(size_type pos1, const basic_string& str);
216 basic_string& insert(size_type pos1, const T& t);
217 basic_string& insert(size_type pos1, const basic_string& str,
220 basic_string& insert(size_type pos1, const T& t, size_type pos2, size_type n); // C++17
221 basic_string& insert(size_type pos, const value_type* s, size_type n=npos); //C++14
222 basic_string& insert(size_type pos, const value_type* s);
223 basic_string& insert(size_type pos, size_type n, value_type c);
230 basic_string& erase(size_type pos = 0, size_type n = npos);
234 basic_string& replace(size_type pos1, size_type n1, const basic_string& str);
236 basic_string& replace(size_type pos1, size_type n1, const T& t); // C++17
237 basic_string& replace(size_type pos1, size_type n1, const basic_string& str,
240 basic_string& replace(size_type pos1, size_type n1, const T& t,
242 basic_string& replace(size_type pos, size_type n1, const value_type* s, size_type n2);
243 basic_string& replace(size_type pos, size_type n1, const value_type* s);
244 basic_string& replace(size_type pos, size_type n1, size_type n2, value_type c);
245 basic_string& replace(const_iterator i1, const_iterator i2, const basic_string& str);
247 basic_string& replace(const_iterator i1, const_iterator i2, const T& t); // C++17
248 basic_string& replace(const_iterator i1, const_iterator i2, const value_type* s, size_type n);
249 basic_string& replace(const_iterator i1, const_iterator i2, const value_type* s);
250 basic_string& replace(const_iterator i1, const_iterator i2, size_type n, value_type c);
252basic_string& replace(const_iterator i1, const_iterator i2, InputIterator j1, InputIterator j2);
253 basic_string& replace(const_iterator i1, const_iterator i2, initializer_list<value_type>);
256 basic_string substr(size_type pos = 0, size_type n = npos) const;
258 void swap(basic_string& str)
268 size_type find(const basic_string& str, size_type pos = 0) const noexcept;
275 size_type rfind(const basic_string& str, size_type pos = npos) const noexcept;
282 size_type find_first_of(const basic_string& str, size_type pos = 0) const noexcept;
289 size_type find_last_of(const basic_string& str, size_type pos = npos) const noexcept;
296 size_type find_first_not_of(const basic_string& str, size_type pos = 0) const noexcept;
303 size_type find_last_not_of(const basic_string& str, size_type pos = npos) const noexcept;
310 int compare(const basic_string& str) const noexcept;
313 int compare(size_type pos1, size_type n1, const basic_string& str) const;
316 int compare(size_type pos1, size_type n1, const basic_string& str,
341 basic_string(InputIterator, InputIterator, Allocator = Allocator())
342 -> basic_string<typename iterator_traits<InputIterator>::value_type,
347 basic_string<charT, traits, Allocator>
348 operator+(const basic_string<charT, traits, Allocator>& lhs,
349 const basic_string<charT, traits, Allocator>& rhs);
352 basic_string<charT, traits, Allocator>
353 operator+(const charT* lhs , const basic_string<charT,traits,Allocator>&rhs);
356 basic_string<charT, traits, Allocator>
357 operator+(charT lhs, const basic_string<charT,traits,Allocator>& rhs);
360 basic_string<charT, traits, Allocator>
361 operator+(const basic_string<charT, traits, Allocator>& lhs, const charT* rhs);
364 basic_string<charT, traits, Allocator>
365 operator+(const basic_string<charT, traits, Allocator>& lhs, charT rhs);
368 bool operator==(const basic_string<charT, traits, Allocator>& lhs,
369 const basic_string<charT, traits, Allocator>& rhs) noexcept;
372 bool operator==(const charT* lhs, const basic_string<charT, traits, Allocator>& rhs) noexcept;
375 bool operator==(const basic_string<charT,traits,Allocator>& lhs, const charT* rhs) noexcept;
378 bool operator!=(const basic_string<charT,traits,Allocator>& lhs,
379 const basic_string<charT, traits, Allocator>& rhs) noexcept;
382 bool operator!=(const charT* lhs, const basic_string<charT, traits, Allocator>& rhs) noexcept;
385 bool operator!=(const basic_string<charT, traits, Allocator>& lhs, const charT* rhs) noexcept;
388 bool operator< (const basic_string<charT, traits, Allocator>& lhs,
389 const basic_string<charT, traits, Allocator>& rhs) noexcept;
392 bool operator< (const basic_string<charT, traits, Allocator>& lhs, const charT* rhs) noexcept;
395 bool operator< (const charT* lhs, const basic_string<charT, traits, Allocator>& rhs) noexcept;
398 bool operator> (const basic_string<charT, traits, Allocator>& lhs,
399 const basic_string<charT, traits, Allocator>& rhs) noexcept;
402 bool operator> (const basic_string<charT, traits, Allocator>& lhs, const charT* rhs) noexcept;
405 bool operator> (const charT* lhs, const basic_string<charT, traits, Allocator>& rhs) noexcept;
408 bool operator<=(const basic_string<charT, traits, Allocator>& lhs,
409 const basic_string<charT, traits, Allocator>& rhs) noexcept;
412 bool operator<=(const basic_string<charT, traits, Allocator>& lhs, const charT* rhs) noexcept;
415 bool operator<=(const charT* lhs, const basic_string<charT, traits, Allocator>& rhs) noexcept;
418 bool operator>=(const basic_string<charT, traits, Allocator>& lhs,
419 const basic_string<charT, traits, Allocator>& rhs) noexcept;
422 bool operator>=(const basic_string<charT, traits, Allocator>& lhs, const charT* rhs) noexcept;
425 bool operator>=(const charT* lhs, const basic_string<charT, traits, Allocator>& rhs) noexcept;
428 void swap(basic_string<charT, traits, Allocator>& lhs,
429 basic_string<charT, traits, Allocator>& rhs)
434 operator>>(basic_istream<charT, traits>& is, basic_string<charT, traits, Allocator>& str);
438 operator<<(basic_ostream<charT, traits>& os, const basic_string<charT, traits, Allocator>& str);
442 getline(basic_istream<charT, traits>& is, basic_string<charT, traits, Allocator>& str,
447 getline(basic_istream<charT, traits>& is, basic_string<charT, traits, Allocator>& str);
450 typename basic_string<charT, traits, Allocator>::size_type
451 erase(basic_string<charT, traits, Allocator>& c, const U& value); // C++20
453 typename basic_string<charT, traits, Allocator>::size_type
454 erase_if(basic_string<charT, traits, Allocator>& c, Predicate pred); // C++20
456 typedef basic_string<char> string;
457 typedef basic_string<wchar_t> wstring;
458 typedef basic_string<char8_t> u8string; // C++20
459 typedef basic_string<char16_t> u16string;
460 typedef basic_string<char32_t> u32string;
508 basic_string<char> operator "" s( const char *str, size_t len ); // C++14
509 basic_string<wchar_t> operator "" s( const wchar_t *str, size_t len ); // C++14
510 basic_string<char8_t> operator "" s( const char8_t *str, size_t len ); // C++20
511 basic_string<char16_t> operator "" s( const char16_t *str, size_t len ); // C++14
512 basic_string<char32_t> operator "" s( const char32_t *str, size_t len ); // C++14
589 // basic_string
592 basic_string<_CharT, _Traits, _Allocator>
593 operator+(const basic_string<_CharT, _Traits, _Allocator>& __x,
594 const basic_string<_CharT, _Traits, _Allocator>& __y);
597 basic_string<_CharT, _Traits, _Allocator>
598 operator+(const _CharT* __x, const basic_string<_CharT,_Traits,_Allocator>& __y);
601 basic_string<_CharT, _Traits, _Allocator>
602 operator+(_CharT __x, const basic_string<_CharT,_Traits,_Allocator>& __y);
606 basic_string<_CharT, _Traits, _Allocator>
607 operator+(const basic_string<_CharT, _Traits, _Allocator>& __x, const _CharT* __y);
610 basic_string<_CharT, _Traits, _Allocator>
611 operator+(const basic_string<_CharT, _Traits, _Allocator>& __x, _CharT __y);
627 _VSTD::__throw_length_error("basic_string");
634 _VSTD::__throw_out_of_range("basic_string");
672 typedef basic_string<char8_t> u8string;
676 typedef basic_string<char16_t> u16string;
677 typedef basic_string<char32_t> u32string;
690 basic_string
694 typedef basic_string __self;
707 …static_assert((!is_array<value_type>::value), "Character type of basic_string must not be an array…
708 …static_assert(( is_standard_layout<value_type>::value), "Character type of basic_string must be st…
709 … static_assert(( is_trivial<value_type>::value), "Character type of basic_string must be trivial");
809 _LIBCPP_INLINE_VISIBILITY basic_string()
812 _LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type& __a)
819 basic_string(const basic_string& __str);
820 basic_string(const basic_string& __str, const allocator_type& __a);
824 basic_string(basic_string&& __str)
832 basic_string(basic_string&& __str, const allocator_type& __a);
837 basic_string(const _CharT* __s) : __r_(__default_init_tag(), __default_init_tag()) {
838 _LIBCPP_ASSERT(__s != nullptr, "basic_string(const char*) detected nullptr");
847 basic_string(const _CharT* __s, const _Allocator& __a);
850 basic_string(nullptr_t) = delete;
854 basic_string(const _CharT* __s, size_type __n);
856 basic_string(const _CharT* __s, size_type __n, const _Allocator& __a);
858 basic_string(size_type __n, _CharT __c);
862 basic_string(size_type __n, _CharT __c, const _Allocator& __a);
864 basic_string(const basic_string& __str, size_type __pos, size_type __n,
867 basic_string(const basic_string& __str, size_type __pos,
870 …rted_to_string_view<_CharT, _Traits, _Tp>::value && !__is_same_uncvref<_Tp, basic_string>::value> >
872 basic_string(const _Tp& __t, size_type __pos, size_type __n,
876 !__is_same_uncvref<_Tp, basic_string>::value> >
878 explicit basic_string(const _Tp& __t);
880 …rted_to_string_view<_CharT, _Traits, _Tp>::value && !__is_same_uncvref<_Tp, basic_string>::value> >
882 explicit basic_string(const _Tp& __t, const allocator_type& __a);
886 basic_string(_InputIterator __first, _InputIterator __last);
889 basic_string(_InputIterator __first, _InputIterator __last, const allocator_type& __a);
892 basic_string(initializer_list<_CharT> __il);
894 basic_string(initializer_list<_CharT> __il, const _Allocator& __a);
897 inline ~basic_string();
902 basic_string& operator=(const basic_string& __str);
904 …rted_to_string_view<_CharT, _Traits, _Tp>::value && !__is_same_uncvref<_Tp, basic_string>::value> >
905 basic_string& operator=(const _Tp& __t)
910 basic_string& operator=(basic_string&& __str)
913basic_string& operator=(initializer_list<value_type> __il) {return assign(__il.begin(), __il.size(…
915 _LIBCPP_INLINE_VISIBILITY basic_string& operator=(const value_type* __s) {return assign(__s);}
917 basic_string& operator=(nullptr_t) = delete;
919 basic_string& operator=(value_type __c);
1003 …_LIBCPP_INLINE_VISIBILITY basic_string& operator+=(const basic_string& __str) {return append(__str…
1010 && !__is_same_uncvref<_Tp, basic_string >::value,
1011 basic_string&
1014 …_LIBCPP_INLINE_VISIBILITY basic_string& operator+=(const value_type* __s) {return append(__s);}
1015 …_LIBCPP_INLINE_VISIBILITY basic_string& operator+=(value_type __c) {push_back(__c); ret…
1017 …_LIBCPP_INLINE_VISIBILITY basic_string& operator+=(initializer_list<value_type> __il) {return appe…
1021 basic_string& append(const basic_string& __str);
1027 && !__is_same_uncvref<_Tp, basic_string>::value,
1028 basic_string&
1031 basic_string& append(const basic_string& __str, size_type __pos, size_type __n=npos);
1038 && !__is_same_uncvref<_Tp, basic_string>::value,
1039 basic_string&
1042 basic_string& append(const value_type* __s, size_type __n);
1043 basic_string& append(const value_type* __s);
1044 basic_string& append(size_type __n, value_type __c);
1054 basic_string&
1058 const basic_string __temp(__first, __last, __alloc());
1067 basic_string&
1074basic_string& append(initializer_list<value_type> __il) {return append(__il.begin(), __il.size());}
1090 basic_string&
1094 basic_string& assign(const basic_string& __str) { return *this = __str; }
1097 basic_string& assign(basic_string&& __str)
1101 basic_string& assign(const basic_string& __str, size_type __pos, size_type __n=npos);
1107 && !__is_same_uncvref<_Tp, basic_string>::value,
1108 basic_string&
1111 basic_string& assign(const value_type* __s, size_type __n);
1112 basic_string& assign(const value_type* __s);
1113 basic_string& assign(size_type __n, value_type __c);
1119 basic_string&
1127 basic_string&
1132basic_string& assign(initializer_list<value_type> __il) {return assign(__il.begin(), __il.size());}
1136 basic_string& insert(size_type __pos1, const basic_string& __str);
1143 basic_string&
1152 …verted_to_string_view<_CharT, _Traits, _Tp>::value && !__is_same_uncvref<_Tp, basic_string>::value,
1153 basic_string&
1156basic_string& insert(size_type __pos1, const basic_string& __str, size_type __pos2, size_type __n=…
1157 basic_string& insert(size_type __pos, const value_type* __s, size_type __n);
1158 basic_string& insert(size_type __pos, const value_type* __s);
1159 basic_string& insert(size_type __pos, size_type __n, value_type __c);
1185 basic_string& erase(size_type __pos = 0, size_type __n = npos);
1192 basic_string& replace(size_type __pos1, size_type __n1, const basic_string& __str);
1199 basic_string&
1202basic_string& replace(size_type __pos1, size_type __n1, const basic_string& __str, size_type __pos…
1207 …erted_to_string_view<_CharT, _Traits, _Tp>::value && !__is_same_uncvref<_Tp, basic_string>::value,
1208 basic_string&
1211 basic_string& replace(size_type __pos, size_type __n1, const value_type* __s, size_type __n2);
1212 basic_string& replace(size_type __pos, size_type __n1, const value_type* __s);
1213 basic_string& replace(size_type __pos, size_type __n1, size_type __n2, value_type __c);
1215 basic_string& replace(const_iterator __i1, const_iterator __i2, const basic_string& __str);
1222 basic_string&
1227basic_string& replace(const_iterator __i1, const_iterator __i2, const value_type* __s, size_type _…
1229 basic_string& replace(const_iterator __i1, const_iterator __i2, const value_type* __s);
1231 basic_string& replace(const_iterator __i1, const_iterator __i2, size_type __n, value_type __c);
1237 basic_string&
1242basic_string& replace(const_iterator __i1, const_iterator __i2, initializer_list<value_type> __il)
1248 basic_string substr(size_type __pos = 0, size_type __n = npos) const;
1251 void swap(basic_string& __str)
1272 size_type find(const basic_string& __str, size_type __pos = 0) const _NOEXCEPT;
1288 size_type rfind(const basic_string& __str, size_type __pos = npos) const _NOEXCEPT;
1304 size_type find_first_of(const basic_string& __str, size_type __pos = 0) const _NOEXCEPT;
1321 size_type find_last_of(const basic_string& __str, size_type __pos = npos) const _NOEXCEPT;
1338 size_type find_first_not_of(const basic_string& __str, size_type __pos = 0) const _NOEXCEPT;
1355 size_type find_last_not_of(const basic_string& __str, size_type __pos = npos) const _NOEXCEPT;
1372 int compare(const basic_string& __str) const _NOEXCEPT;
1393 int compare(size_type __pos1, size_type __n1, const basic_string& __str) const;
1394 …int compare(size_type __pos1, size_type __n1, const basic_string& __str, size_type __pos2, size_ty…
1400 …erted_to_string_view<_CharT, _Traits, _Tp>::value && !__is_same_uncvref<_Tp, basic_string>::value,
1616 // For example, operator=(basic_string) performs a 'self' check.
1618 basic_string& __assign_no_alias(const value_type* __s, size_type __n);
1628 void __copy_assign_alloc(const basic_string& __str)
1633 void __copy_assign_alloc(const basic_string& __str, true_type)
1658 void __copy_assign_alloc(const basic_string&, false_type) _NOEXCEPT
1663 void __move_assign(basic_string& __str, false_type)
1666 void __move_assign(basic_string& __str, true_type)
1676 __move_assign_alloc(basic_string& __str)
1684 void __move_assign_alloc(basic_string& __c, true_type)
1691 void __move_assign_alloc(basic_string&, false_type)
1695 basic_string& __assign_external(const value_type* __s);
1696 basic_string& __assign_external(const value_type* __s, size_type __n);
1699 inline basic_string& __assign_short(const value_type* __s, size_type __n) {
1736 friend basic_string operator+<>(const basic_string&, const basic_string&);
1737 friend basic_string operator+<>(const value_type*, const basic_string&);
1738 friend basic_string operator+<>(value_type, const basic_string&);
1739 friend basic_string operator+<>(const basic_string&, const value_type*);
1740 friend basic_string operator+<>(const basic_string&, value_type);
1761 basic_string(_InputIterator, _InputIterator, _Allocator = _Allocator())
1762 -> basic_string<_CharT, char_traits<_CharT>, _Allocator>;
1769 explicit basic_string(basic_string_view<_CharT, _Traits>, const _Allocator& = _Allocator())
1770 -> basic_string<_CharT, _Traits, _Allocator>;
1778 basic_string(basic_string_view<_CharT, _Traits>, _Sz, _Sz, const _Allocator& = _Allocator())
1779 -> basic_string<_CharT, _Traits, _Allocator>;
1785 basic_string<_CharT, _Traits, _Allocator>::__invalidate_all_iterators()
1795 basic_string<_CharT, _Traits, _Allocator>::__invalidate_iterators_past(size_type __pos)
1822 basic_string<_CharT, _Traits, _Allocator>::basic_string()
1834 basic_string<_CharT, _Traits, _Allocator>::basic_string(const allocator_type& __a)
1849 void basic_string<_CharT, _Traits, _Allocator>::__init(const value_type* __s,
1875 basic_string<_CharT, _Traits, _Allocator>::__init(const value_type* __s, size_type __sz)
1899 basic_string<_CharT, _Traits, _Allocator>::basic_string(const _CharT* __s, const _Allocator& __a)
1902 _LIBCPP_ASSERT(__s != nullptr, "basic_string(const char*, allocator) detected nullptr");
1911 basic_string<_CharT, _Traits, _Allocator>::basic_string(const _CharT* __s, size_type __n)
1914 _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "basic_string(const char*, n) detected nullptr");
1923 basic_string<_CharT, _Traits, _Allocator>::basic_string(const _CharT* __s, size_type __n, const _Al…
1926 …_LIBCPP_ASSERT(__n == 0 || __s != nullptr, "basic_string(const char*, n, allocator) detected nullp…
1934 basic_string<_CharT, _Traits, _Allocator>::basic_string(const basic_string& __str)
1949 basic_string<_CharT, _Traits, _Allocator>::basic_string(
1950 const basic_string& __str, const allocator_type& __a)
1964 void basic_string<_CharT, _Traits, _Allocator>::__init_copy_ctor_external(
1986 basic_string<_CharT, _Traits, _Allocator>::basic_string(basic_string&& __str)
2004 basic_string<_CharT, _Traits, _Allocator>::basic_string(basic_string&& __str, const allocator_type&…
2025 basic_string<_CharT, _Traits, _Allocator>::__init(size_type __n, value_type __c)
2049 basic_string<_CharT, _Traits, _Allocator>::basic_string(size_type __n, _CharT __c)
2060 basic_string<_CharT, _Traits, _Allocator>::basic_string(size_type __n, _CharT __c, const _Allocator…
2070 basic_string<_CharT, _Traits, _Allocator>::basic_string(const basic_string& __str,
2086 basic_string<_CharT, _Traits, _Allocator>::basic_string(const basic_string& __str, size_type __pos,
2101 basic_string<_CharT, _Traits, _Allocator>::basic_string(
2115 basic_string<_CharT, _Traits, _Allocator>::basic_string(const _Tp & __t)
2127 basic_string<_CharT, _Traits, _Allocator>::basic_string(const _Tp & __t, const _Allocator& __a)
2143 basic_string<_CharT, _Traits, _Allocator>::__init(_InputIterator __first, _InputIterator __last)
2169 basic_string<_CharT, _Traits, _Allocator>::__init(_ForwardIterator __first, _ForwardIterator __last)
2210 basic_string<_CharT, _Traits, _Allocator>::basic_string(_InputIterator __first, _InputIterator __la…
2222 basic_string<_CharT, _Traits, _Allocator>::basic_string(_InputIterator __first, _InputIterator __la…
2236 basic_string<_CharT, _Traits, _Allocator>::basic_string(
2249 basic_string<_CharT, _Traits, _Allocator>::basic_string(
2262 basic_string<_CharT, _Traits, _Allocator>::~basic_string()
2273 basic_string<_CharT, _Traits, _Allocator>::__grow_by_and_replace
2306 basic_string<_CharT, _Traits, _Allocator>::__grow_by(size_type __old_cap, size_type __delta_cap, si…
2336 basic_string<_CharT, _Traits, _Allocator>&
2337 basic_string<_CharT, _Traits, _Allocator>::__assign_no_alias(
2354 basic_string<_CharT, _Traits, _Allocator>&
2355 basic_string<_CharT, _Traits, _Allocator>::__assign_external(
2372 basic_string<_CharT, _Traits, _Allocator>&
2373 basic_string<_CharT, _Traits, _Allocator>::assign(const value_type* __s, size_type __n)
2382 basic_string<_CharT, _Traits, _Allocator>&
2383 basic_string<_CharT, _Traits, _Allocator>::assign(size_type __n, value_type __c)
2400 basic_string<_CharT, _Traits, _Allocator>&
2401 basic_string<_CharT, _Traits, _Allocator>::operator=(value_type __c)
2421 basic_string<_CharT, _Traits, _Allocator>&
2422 basic_string<_CharT, _Traits, _Allocator>::operator=(const basic_string& __str)
2444 basic_string<_CharT, _Traits, _Allocator>::__move_assign(basic_string& __str, false_type)
2456 basic_string<_CharT, _Traits, _Allocator>::__move_assign(basic_string& __str, true_type)
2481 basic_string<_CharT, _Traits, _Allocator>&
2482 basic_string<_CharT, _Traits, _Allocator>::operator=(basic_string&& __str)
2497 basic_string<_CharT, _Traits, _Allocator>&
2499 basic_string<_CharT, _Traits, _Allocator>::assign(_InputIterator __first, _InputIterator __last)
2501 const basic_string __temp(__first, __last, __alloc());
2511 basic_string<_CharT, _Traits, _Allocator>&
2513 basic_string<_CharT, _Traits, _Allocator>::assign(_ForwardIterator __first, _ForwardIterator __last)
2536 const basic_string __temp(__first, __last, __alloc());
2543 basic_string<_CharT, _Traits, _Allocator>&
2544 basic_string<_CharT, _Traits, _Allocator>::assign(const basic_string& __str, size_type __pos, size_…
2557 && !__is_same_uncvref<_Tp, basic_string<_CharT, _Traits, _Allocator> >::value,
2558 basic_string<_CharT, _Traits, _Allocator>&
2560 basic_string<_CharT, _Traits, _Allocator>::assign(const _Tp & __t, size_type __pos, size_type __n)
2571 basic_string<_CharT, _Traits, _Allocator>&
2572 basic_string<_CharT, _Traits, _Allocator>::__assign_external(const value_type* __s) {
2577 basic_string<_CharT, _Traits, _Allocator>&
2578 basic_string<_CharT, _Traits, _Allocator>::assign(const value_type* __s)
2590 basic_string<_CharT, _Traits, _Allocator>&
2591 basic_string<_CharT, _Traits, _Allocator>::append(const value_type* __s, size_type __n)
2613 basic_string<_CharT, _Traits, _Allocator>&
2614 basic_string<_CharT, _Traits, _Allocator>::append(size_type __n, value_type __c)
2633 basic_string<_CharT, _Traits, _Allocator>::__append_default_init(size_type __n)
2650 basic_string<_CharT, _Traits, _Allocator>::push_back(value_type __c)
2690 basic_string<_CharT, _Traits, _Allocator>&
2692 basic_string<_CharT, _Traits, _Allocator>::append(
2713 const basic_string __temp(__first, __last, __alloc());
2722 basic_string<_CharT, _Traits, _Allocator>&
2723 basic_string<_CharT, _Traits, _Allocator>::append(const basic_string& __str)
2729 basic_string<_CharT, _Traits, _Allocator>&
2730 basic_string<_CharT, _Traits, _Allocator>::append(const basic_string& __str, size_type __pos, size_…
2742 …_string_view<_CharT, _Traits, _Tp>::value && !__is_same_uncvref<_Tp, basic_string<_CharT, _Traits…
2743 basic_string<_CharT, _Traits, _Allocator>&
2745 basic_string<_CharT, _Traits, _Allocator>::append(const _Tp & __t, size_type __pos, size_type __n)
2755 basic_string<_CharT, _Traits, _Allocator>&
2756 basic_string<_CharT, _Traits, _Allocator>::append(const value_type* __s)
2765 basic_string<_CharT, _Traits, _Allocator>&
2766 basic_string<_CharT, _Traits, _Allocator>::insert(size_type __pos, const value_type* __s, size_type…
2797 basic_string<_CharT, _Traits, _Allocator>&
2798 basic_string<_CharT, _Traits, _Allocator>::insert(size_type __pos, size_type __n, value_type __c)
2832 typename basic_string<_CharT, _Traits, _Allocator>::iterator
2834 basic_string<_CharT, _Traits, _Allocator>::insert(const_iterator __pos, _InputIterator __first, _In…
2841 const basic_string __temp(__first, __last, __alloc());
2850 typename basic_string<_CharT, _Traits, _Allocator>::iterator
2852 basic_string<_CharT, _Traits, _Allocator>::insert(const_iterator __pos, _ForwardIterator __first, _…
2889 const basic_string __temp(__first, __last, __alloc());
2898 basic_string<_CharT, _Traits, _Allocator>&
2899 basic_string<_CharT, _Traits, _Allocator>::insert(size_type __pos1, const basic_string& __str)
2905 basic_string<_CharT, _Traits, _Allocator>&
2906 basic_string<_CharT, _Traits, _Allocator>::insert(size_type __pos1, const basic_string& __str,
2919 …_string_view<_CharT, _Traits, _Tp>::value && !__is_same_uncvref<_Tp, basic_string<_CharT, _Traits…
2920 basic_string<_CharT, _Traits, _Allocator>&
2922 basic_string<_CharT, _Traits, _Allocator>::insert(size_type __pos1, const _Tp& __t,
2933 basic_string<_CharT, _Traits, _Allocator>&
2934 basic_string<_CharT, _Traits, _Allocator>::insert(size_type __pos, const value_type* __s)
2941 typename basic_string<_CharT, _Traits, _Allocator>::iterator
2942 basic_string<_CharT, _Traits, _Allocator>::insert(const_iterator __pos, value_type __c)
2968 typename basic_string<_CharT, _Traits, _Allocator>::iterator
2969 basic_string<_CharT, _Traits, _Allocator>::insert(const_iterator __pos, size_type __n, value_type _…
2984 basic_string<_CharT, _Traits, _Allocator>&
2985 basic_string<_CharT, _Traits, _Allocator>::replace(size_type __pos, size_type __n1, const value_typ…
3039 basic_string<_CharT, _Traits, _Allocator>&
3040 basic_string<_CharT, _Traits, _Allocator>::replace(size_type __pos, size_type __n1, size_type __n2,…
3077 basic_string<_CharT, _Traits, _Allocator>&
3079 basic_string<_CharT, _Traits, _Allocator>::replace(const_iterator __i1, const_iterator __i2,
3082 const basic_string __temp(__j1, __j2, __alloc());
3088 basic_string<_CharT, _Traits, _Allocator>&
3089 basic_string<_CharT, _Traits, _Allocator>::replace(size_type __pos1, size_type __n1, const basic_st…
3095 basic_string<_CharT, _Traits, _Allocator>&
3096 basic_string<_CharT, _Traits, _Allocator>::replace(size_type __pos1, size_type __n1, const basic_st…
3109 …o_string_view<_CharT, _Traits, _Tp>::value && !__is_same_uncvref<_Tp, basic_string<_CharT, _Traits…
3110 basic_string<_CharT, _Traits, _Allocator>&
3112 basic_string<_CharT, _Traits, _Allocator>::replace(size_type __pos1, size_type __n1, const _Tp& __t,
3123 basic_string<_CharT, _Traits, _Allocator>&
3124 basic_string<_CharT, _Traits, _Allocator>::replace(size_type __pos, size_type __n1, const value_typ…
3132 basic_string<_CharT, _Traits, _Allocator>&
3133 basic_string<_CharT, _Traits, _Allocator>::replace(const_iterator __i1, const_iterator __i2, const
3141 basic_string<_CharT, _Traits, _Allocator>&
3142 basic_string<_CharT, _Traits, _Allocator>::replace(const_iterator __i1, const_iterator __i2, const …
3149 basic_string<_CharT, _Traits, _Allocator>&
3150 basic_string<_CharT, _Traits, _Allocator>::replace(const_iterator __i1, const_iterator __i2, const …
3157 basic_string<_CharT, _Traits, _Allocator>&
3158 basic_string<_CharT, _Traits, _Allocator>::replace(const_iterator __i1, const_iterator __i2, size_t…
3169 basic_string<_CharT, _Traits, _Allocator>::__erase_external_with_move(
3188 basic_string<_CharT, _Traits, _Allocator>&
3189 basic_string<_CharT, _Traits, _Allocator>::erase(size_type __pos,
3202 typename basic_string<_CharT, _Traits, _Allocator>::iterator
3203 basic_string<_CharT, _Traits, _Allocator>::erase(const_iterator __pos)
3220 typename basic_string<_CharT, _Traits, _Allocator>::iterator
3221 basic_string<_CharT, _Traits, _Allocator>::erase(const_iterator __first, const_iterator __last)
3238 basic_string<_CharT, _Traits, _Allocator>::pop_back()
3260 basic_string<_CharT, _Traits, _Allocator>::clear() _NOEXCEPT
3278 basic_string<_CharT, _Traits, _Allocator>::__erase_to_end(size_type __pos)
3295 basic_string<_CharT, _Traits, _Allocator>::resize(size_type __n, value_type __c)
3306 basic_string<_CharT, _Traits, _Allocator>::__resize_default_init(size_type __n)
3317 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3318 basic_string<_CharT, _Traits, _Allocator>::max_size() const _NOEXCEPT
3330 basic_string<_CharT, _Traits, _Allocator>::reserve(size_type __requested_capacity)
3349 basic_string<_CharT, _Traits, _Allocator>::shrink_to_fit() _NOEXCEPT
3359 basic_string<_CharT, _Traits, _Allocator>::__shrink_or_extend(size_type __target_capacity)
3416 typename basic_string<_CharT, _Traits, _Allocator>::const_reference
3417 basic_string<_CharT, _Traits, _Allocator>::operator[](size_type __pos) const _NOEXCEPT
3425 typename basic_string<_CharT, _Traits, _Allocator>::reference
3426 basic_string<_CharT, _Traits, _Allocator>::operator[](size_type __pos) _NOEXCEPT
3433 typename basic_string<_CharT, _Traits, _Allocator>::const_reference
3434 basic_string<_CharT, _Traits, _Allocator>::at(size_type __n) const
3442 typename basic_string<_CharT, _Traits, _Allocator>::reference
3443 basic_string<_CharT, _Traits, _Allocator>::at(size_type __n)
3452 typename basic_string<_CharT, _Traits, _Allocator>::reference
3453 basic_string<_CharT, _Traits, _Allocator>::front() _NOEXCEPT
3461 typename basic_string<_CharT, _Traits, _Allocator>::const_reference
3462 basic_string<_CharT, _Traits, _Allocator>::front() const _NOEXCEPT
3470 typename basic_string<_CharT, _Traits, _Allocator>::reference
3471 basic_string<_CharT, _Traits, _Allocator>::back() _NOEXCEPT
3479 typename basic_string<_CharT, _Traits, _Allocator>::const_reference
3480 basic_string<_CharT, _Traits, _Allocator>::back() const _NOEXCEPT
3487 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3488 basic_string<_CharT, _Traits, _Allocator>::copy(value_type* __s, size_type __n, size_type __pos) co…
3500 basic_string<_CharT, _Traits, _Allocator>
3501 basic_string<_CharT, _Traits, _Allocator>::substr(size_type __pos, size_type __n) const
3503 return basic_string(*this, __pos, __n, __alloc());
3509 basic_string<_CharT, _Traits, _Allocator>::swap(basic_string& __str)
3544 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3545 basic_string<_CharT, _Traits, _Allocator>::find(const value_type* __s,
3556 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3557 basic_string<_CharT, _Traits, _Allocator>::find(const basic_string& __str,
3569 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3571 basic_string<_CharT, _Traits, _Allocator>::find(const _Tp &__t,
3581 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3582 basic_string<_CharT, _Traits, _Allocator>::find(const value_type* __s,
3591 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3592 basic_string<_CharT, _Traits, _Allocator>::find(value_type __c,
3602 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3603 basic_string<_CharT, _Traits, _Allocator>::rfind(const value_type* __s,
3614 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3615 basic_string<_CharT, _Traits, _Allocator>::rfind(const basic_string& __str,
3627 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3629 basic_string<_CharT, _Traits, _Allocator>::rfind(const _Tp& __t,
3639 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3640 basic_string<_CharT, _Traits, _Allocator>::rfind(const value_type* __s,
3649 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3650 basic_string<_CharT, _Traits, _Allocator>::rfind(value_type __c,
3660 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3661 basic_string<_CharT, _Traits, _Allocator>::find_first_of(const value_type* __s,
3672 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3673 basic_string<_CharT, _Traits, _Allocator>::find_first_of(const basic_string& __str,
3685 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3687 basic_string<_CharT, _Traits, _Allocator>::find_first_of(const _Tp& __t,
3697 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3698 basic_string<_CharT, _Traits, _Allocator>::find_first_of(const value_type* __s,
3708 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3709 basic_string<_CharT, _Traits, _Allocator>::find_first_of(value_type __c,
3718 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3719 basic_string<_CharT, _Traits, _Allocator>::find_last_of(const value_type* __s,
3730 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3731 basic_string<_CharT, _Traits, _Allocator>::find_last_of(const basic_string& __str,
3743 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3745 basic_string<_CharT, _Traits, _Allocator>::find_last_of(const _Tp& __t,
3755 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3756 basic_string<_CharT, _Traits, _Allocator>::find_last_of(const value_type* __s,
3766 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3767 basic_string<_CharT, _Traits, _Allocator>::find_last_of(value_type __c,
3776 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3777 basic_string<_CharT, _Traits, _Allocator>::find_first_not_of(const value_type* __s,
3788 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3789 basic_string<_CharT, _Traits, _Allocator>::find_first_not_of(const basic_string& __str,
3801 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3803 basic_string<_CharT, _Traits, _Allocator>::find_first_not_of(const _Tp& __t,
3813 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3814 basic_string<_CharT, _Traits, _Allocator>::find_first_not_of(const value_type* __s,
3824 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3825 basic_string<_CharT, _Traits, _Allocator>::find_first_not_of(value_type __c,
3835 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3836 basic_string<_CharT, _Traits, _Allocator>::find_last_not_of(const value_type* __s,
3847 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3848 basic_string<_CharT, _Traits, _Allocator>::find_last_not_of(const basic_string& __str,
3860 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3862 basic_string<_CharT, _Traits, _Allocator>::find_last_not_of(const _Tp& __t,
3872 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3873 basic_string<_CharT, _Traits, _Allocator>::find_last_not_of(const value_type* __s,
3883 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3884 basic_string<_CharT, _Traits, _Allocator>::find_last_not_of(value_type __c,
3900 basic_string<_CharT, _Traits, _Allocator>::compare(const _Tp& __t) const _NOEXCEPT
3919 basic_string<_CharT, _Traits, _Allocator>::compare(const basic_string& __str) const _NOEXCEPT
3926 basic_string<_CharT, _Traits, _Allocator>::compare(size_type __pos1,
3954 basic_string<_CharT, _Traits, _Allocator>::compare(size_type __pos1,
3965 basic_string<_CharT, _Traits, _Allocator>::compare(size_type __pos1,
3967 const basic_string& __str) const
3977 && !__is_same_uncvref<_Tp, basic_string<_CharT, _Traits, _Allocator> >::value,
3980 basic_string<_CharT, _Traits, _Allocator>::compare(size_type __pos1,
3992 basic_string<_CharT, _Traits, _Allocator>::compare(size_type __pos1,
3994 const basic_string& __str,
4003 basic_string<_CharT, _Traits, _Allocator>::compare(const value_type* __s) const _NOEXCEPT
4011 basic_string<_CharT, _Traits, _Allocator>::compare(size_type __pos1,
4024 basic_string<_CharT, _Traits, _Allocator>::__invariants() const
4042 basic_string<_CharT, _Traits, _Allocator>::__clear_and_shrink() _NOEXCEPT
4059 operator==(const basic_string<_CharT, _Traits, _Allocator>& __lhs,
4060 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
4071 operator==(const basic_string<char, char_traits<char>, _Allocator>& __lhs,
4072 const basic_string<char, char_traits<char>, _Allocator>& __rhs) _NOEXCEPT
4091 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
4093 typedef basic_string<_CharT, _Traits, _Allocator> _String;
4094 _LIBCPP_ASSERT(__lhs != nullptr, "operator==(char*, basic_string): received nullptr");
4103 operator==(const basic_string<_CharT,_Traits,_Allocator>& __lhs,
4106 typedef basic_string<_CharT, _Traits, _Allocator> _String;
4107 _LIBCPP_ASSERT(__rhs != nullptr, "operator==(basic_string, char*): received nullptr");
4116 operator!=(const basic_string<_CharT,_Traits,_Allocator>& __lhs,
4117 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
4126 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
4134 operator!=(const basic_string<_CharT, _Traits, _Allocator>& __lhs,
4145 operator< (const basic_string<_CharT, _Traits, _Allocator>& __lhs,
4146 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
4154 operator< (const basic_string<_CharT, _Traits, _Allocator>& __lhs,
4164 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
4174 operator> (const basic_string<_CharT, _Traits, _Allocator>& __lhs,
4175 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
4183 operator> (const basic_string<_CharT, _Traits, _Allocator>& __lhs,
4193 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
4203 operator<=(const basic_string<_CharT, _Traits, _Allocator>& __lhs,
4204 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
4212 operator<=(const basic_string<_CharT, _Traits, _Allocator>& __lhs,
4222 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
4232 operator>=(const basic_string<_CharT, _Traits, _Allocator>& __lhs,
4233 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
4241 operator>=(const basic_string<_CharT, _Traits, _Allocator>& __lhs,
4251 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
4259 basic_string<_CharT, _Traits, _Allocator>
4260 operator+(const basic_string<_CharT, _Traits, _Allocator>& __lhs,
4261 const basic_string<_CharT, _Traits, _Allocator>& __rhs)
4263 basic_string<_CharT, _Traits, _Allocator> __r(__lhs.get_allocator());
4264 typename basic_string<_CharT, _Traits, _Allocator>::size_type __lhs_sz = __lhs.size();
4265 typename basic_string<_CharT, _Traits, _Allocator>::size_type __rhs_sz = __rhs.size();
4272 basic_string<_CharT, _Traits, _Allocator>
4273 operator+(const _CharT* __lhs , const basic_string<_CharT,_Traits,_Allocator>& __rhs)
4275 basic_string<_CharT, _Traits, _Allocator> __r(__rhs.get_allocator());
4276 typename basic_string<_CharT, _Traits, _Allocator>::size_type __lhs_sz = _Traits::length(__lhs);
4277 typename basic_string<_CharT, _Traits, _Allocator>::size_type __rhs_sz = __rhs.size();
4284 basic_string<_CharT, _Traits, _Allocator>
4285 operator+(_CharT __lhs, const basic_string<_CharT,_Traits,_Allocator>& __rhs)
4287 basic_string<_CharT, _Traits, _Allocator> __r(__rhs.get_allocator());
4288 typename basic_string<_CharT, _Traits, _Allocator>::size_type __rhs_sz = __rhs.size();
4296 basic_string<_CharT, _Traits, _Allocator>
4297 operator+(const basic_string<_CharT, _Traits, _Allocator>& __lhs, const _CharT* __rhs)
4299 basic_string<_CharT, _Traits, _Allocator> __r(__lhs.get_allocator());
4300 typename basic_string<_CharT, _Traits, _Allocator>::size_type __lhs_sz = __lhs.size();
4301 typename basic_string<_CharT, _Traits, _Allocator>::size_type __rhs_sz = _Traits::length(__rhs);
4308 basic_string<_CharT, _Traits, _Allocator>
4309 operator+(const basic_string<_CharT, _Traits, _Allocator>& __lhs, _CharT __rhs)
4311 basic_string<_CharT, _Traits, _Allocator> __r(__lhs.get_allocator());
4312 typename basic_string<_CharT, _Traits, _Allocator>::size_type __lhs_sz = __lhs.size();
4322 basic_string<_CharT, _Traits, _Allocator>
4323 operator+(basic_string<_CharT, _Traits, _Allocator>&& __lhs, const basic_string<_CharT, _Traits, _A…
4330 basic_string<_CharT, _Traits, _Allocator>
4331 operator+(const basic_string<_CharT, _Traits, _Allocator>& __lhs, basic_string<_CharT, _Traits, _Al…
4338 basic_string<_CharT, _Traits, _Allocator>
4339 operator+(basic_string<_CharT, _Traits, _Allocator>&& __lhs, basic_string<_CharT, _Traits, _Allocat…
4346 basic_string<_CharT, _Traits, _Allocator>
4347 operator+(const _CharT* __lhs , basic_string<_CharT,_Traits,_Allocator>&& __rhs)
4354 basic_string<_CharT, _Traits, _Allocator>
4355 operator+(_CharT __lhs, basic_string<_CharT,_Traits,_Allocator>&& __rhs)
4363 basic_string<_CharT, _Traits, _Allocator>
4364 operator+(basic_string<_CharT, _Traits, _Allocator>&& __lhs, const _CharT* __rhs)
4371 basic_string<_CharT, _Traits, _Allocator>
4372 operator+(basic_string<_CharT, _Traits, _Allocator>&& __lhs, _CharT __rhs)
4385 swap(basic_string<_CharT, _Traits, _Allocator>& __lhs,
4386 basic_string<_CharT, _Traits, _Allocator>& __rhs)
4434 const typename basic_string<_CharT, _Traits, _Allocator>::size_type
4435 basic_string<_CharT, _Traits, _Allocator>::npos;
4439 hash<basic_string<_CharT, char_traits<_CharT>, _Allocator> >
4441 basic_string<_CharT, char_traits<_CharT>, _Allocator>, size_t>
4444 operator()(const basic_string<_CharT, char_traits<_CharT>, _Allocator>& __val) const _NOEXCEPT
4452 const basic_string<_CharT, _Traits, _Allocator>& __str);
4457 basic_string<_CharT, _Traits, _Allocator>& __str);
4462 basic_string<_CharT, _Traits, _Allocator>& __str, _CharT __dlm);
4468 basic_string<_CharT, _Traits, _Allocator>& __str);
4474 basic_string<_CharT, _Traits, _Allocator>& __str, _CharT __dlm);
4480 basic_string<_CharT, _Traits, _Allocator>& __str);
4485 typename basic_string<_CharT, _Traits, _Allocator>::size_type
4486 erase(basic_string<_CharT, _Traits, _Allocator>& __str, const _Up& __v) {
4494 typename basic_string<_CharT, _Traits, _Allocator>::size_type
4495 erase_if(basic_string<_CharT, _Traits, _Allocator>& __str,
4508 basic_string<_CharT, _Traits, _Allocator>::__dereferenceable(const const_iterator* __i) const
4516 basic_string<_CharT, _Traits, _Allocator>::__decrementable(const const_iterator* __i) const
4524 basic_string<_CharT, _Traits, _Allocator>::__addable(const const_iterator* __i, ptrdiff_t __n) const
4532 basic_string<_CharT, _Traits, _Allocator>::__subscriptable(const const_iterator* __i, ptrdiff_t __n…
4541 // Literal suffixes for basic_string [basic.string.literals]
4547 basic_string<char> operator "" s( const char *__str, size_t __len )
4549 return basic_string<char> (__str, __len);
4553 basic_string<wchar_t> operator "" s( const wchar_t *__str, size_t __len )
4555 return basic_string<wchar_t> (__str, __len);
4560 basic_string<char8_t> operator "" s(const char8_t *__str, size_t __len) _NOEXCEPT
4562 return basic_string<char8_t> (__str, __len);
4567 basic_string<char16_t> operator "" s( const char16_t *__str, size_t __len )
4569 return basic_string<char16_t> (__str, __len);
4573 basic_string<char32_t> operator "" s( const char32_t *__str, size_t __len )
4575 return basic_string<char32_t> (__str, __len);