Lines Matching refs:basic_string
75 class basic_string
95 basic_string()
97 explicit basic_string(const allocator_type& a);
98 basic_string(const basic_string& str);
99 basic_string(basic_string&& str)
101 basic_string(const basic_string& str, size_type pos, size_type n = npos,
103 basic_string(const_pointer s, const allocator_type& a = allocator_type());
104 basic_string(const_pointer s, size_type n, const allocator_type& a = allocator_type());
105 basic_string(size_type n, value_type c, const allocator_type& a = allocator_type());
107 basic_string(InputIterator begin, InputIterator end,
109 basic_string(initializer_list<value_type>, const Allocator& = Allocator());
110 basic_string(const basic_string&, const Allocator&);
111 basic_string(basic_string&&, const Allocator&);
113 ~basic_string();
115 basic_string& operator=(const basic_string& str);
116 basic_string& operator=(basic_string&& str)
120 basic_string& operator=(const_pointer s);
121 basic_string& operator=(value_type c);
122 basic_string& operator=(initializer_list<value_type>);
158 basic_string& operator+=(const basic_string& str);
159 basic_string& operator+=(const_pointer s);
160 basic_string& operator+=(value_type c);
161 basic_string& operator+=(initializer_list<value_type>);
163 basic_string& append(const basic_string& str);
164 basic_string& append(const basic_string& str, size_type pos, size_type n);
165 basic_string& append(const_pointer s, size_type n);
166 basic_string& append(const_pointer s);
167 basic_string& append(size_type n, value_type c);
169 basic_string& append(InputIterator first, InputIterator last);
170 basic_string& append(initializer_list<value_type>);
179 basic_string& assign(const basic_string& str);
180 basic_string& assign(basic_string&& str);
181 basic_string& assign(const basic_string& str, size_type pos, size_type n);
182 basic_string& assign(const_pointer s, size_type n);
183 basic_string& assign(const_pointer s);
184 basic_string& assign(size_type n, value_type c);
186 basic_string& assign(InputIterator first, InputIterator last);
187 basic_string& assign(initializer_list<value_type>);
189 basic_string& insert(size_type pos1, const basic_string& str);
190 basic_string& insert(size_type pos1, const basic_string& str,
192 basic_string& insert(size_type pos, const_pointer s, size_type n);
193 basic_string& insert(size_type pos, const_pointer s);
194 basic_string& insert(size_type pos, size_type n, value_type c);
201 basic_string& erase(size_type pos = 0, size_type n = npos);
205 basic_string& replace(size_type pos1, size_type n1, const basic_string& str);
206 basic_string& replace(size_type pos1, size_type n1, const basic_string& str,
208 basic_string& replace(size_type pos, size_type n1, const_pointer s, size_type n2);
209 basic_string& replace(size_type pos, size_type n1, const_pointer s);
210 basic_string& replace(size_type pos, size_type n1, size_type n2, value_type c);
211 basic_string& replace(const_iterator i1, const_iterator i2, const basic_string& str);
212 basic_string& replace(const_iterator i1, const_iterator i2, const_pointer s, size_type n);
213 basic_string& replace(const_iterator i1, const_iterator i2, const_pointer s);
214 basic_string& replace(const_iterator i1, const_iterator i2, size_type n, value_type c);
216 … basic_string& replace(const_iterator i1, const_iterator i2, InputIterator j1, InputIterator j2);
217 basic_string& replace(const_iterator i1, const_iterator i2, initializer_list<value_type>);
220 basic_string substr(size_type pos = 0, size_type n = npos) const;
222 void swap(basic_string& str)
231 size_type find(const basic_string& str, size_type pos = 0) const noexcept;
236 size_type rfind(const basic_string& str, size_type pos = npos) const noexcept;
241 size_type find_first_of(const basic_string& str, size_type pos = 0) const noexcept;
246 size_type find_last_of(const basic_string& str, size_type pos = npos) const noexcept;
251 size_type find_first_not_of(const basic_string& str, size_type pos = 0) const noexcept;
256 size_type find_last_not_of(const basic_string& str, size_type pos = npos) const noexcept;
261 int compare(const basic_string& str) const noexcept;
262 int compare(size_type pos1, size_type n1, const basic_string& str) const;
263 int compare(size_type pos1, size_type n1, const basic_string& str,
273 basic_string<charT, traits, Allocator>
274 operator+(const basic_string<charT, traits, Allocator>& lhs,
275 const basic_string<charT, traits, Allocator>& rhs);
278 basic_string<charT, traits, Allocator>
279 operator+(const charT* lhs , const basic_string<charT,traits,Allocator>&rhs);
282 basic_string<charT, traits, Allocator>
283 operator+(charT lhs, const basic_string<charT,traits,Allocator>& rhs);
286 basic_string<charT, traits, Allocator>
287 operator+(const basic_string<charT, traits, Allocator>& lhs, const charT* rhs);
290 basic_string<charT, traits, Allocator>
291 operator+(const basic_string<charT, traits, Allocator>& lhs, charT rhs);
294 bool operator==(const basic_string<charT, traits, Allocator>& lhs,
295 const basic_string<charT, traits, Allocator>& rhs) noexcept;
298 bool operator==(const charT* lhs, const basic_string<charT, traits, Allocator>& rhs) noexcept;
301 bool operator==(const basic_string<charT,traits,Allocator>& lhs, const charT* rhs) noexcept;
304 bool operator!=(const basic_string<charT,traits,Allocator>& lhs,
305 const basic_string<charT, traits, Allocator>& rhs) noexcept;
308 bool operator!=(const charT* lhs, const basic_string<charT, traits, Allocator>& rhs) noexcept;
311 bool operator!=(const basic_string<charT, traits, Allocator>& lhs, const charT* rhs) noexcept;
314 bool operator< (const basic_string<charT, traits, Allocator>& lhs,
315 const basic_string<charT, traits, Allocator>& rhs) noexcept;
318 bool operator< (const basic_string<charT, traits, Allocator>& lhs, const charT* rhs) noexcept;
321 bool operator< (const charT* lhs, const basic_string<charT, traits, Allocator>& rhs) noexcept;
324 bool operator> (const basic_string<charT, traits, Allocator>& lhs,
325 const basic_string<charT, traits, Allocator>& rhs) noexcept;
328 bool operator> (const basic_string<charT, traits, Allocator>& lhs, const charT* rhs) noexcept;
331 bool operator> (const charT* lhs, const basic_string<charT, traits, Allocator>& rhs) noexcept;
334 bool operator<=(const basic_string<charT, traits, Allocator>& lhs,
335 const basic_string<charT, traits, Allocator>& rhs) noexcept;
338 bool operator<=(const basic_string<charT, traits, Allocator>& lhs, const charT* rhs) noexcept;
341 bool operator<=(const charT* lhs, const basic_string<charT, traits, Allocator>& rhs) noexcept;
344 bool operator>=(const basic_string<charT, traits, Allocator>& lhs,
345 const basic_string<charT, traits, Allocator>& rhs) noexcept;
348 bool operator>=(const basic_string<charT, traits, Allocator>& lhs, const charT* rhs) noexcept;
351 bool operator>=(const charT* lhs, const basic_string<charT, traits, Allocator>& rhs) noexcept;
354 void swap(basic_string<charT, traits, Allocator>& lhs,
355 basic_string<charT, traits, Allocator>& rhs)
360 operator>>(basic_istream<charT, traits>& is, basic_string<charT, traits, Allocator>& str);
364 operator<<(basic_ostream<charT, traits>& os, const basic_string<charT, traits, Allocator>& str);
368 getline(basic_istream<charT, traits>& is, basic_string<charT, traits, Allocator>& str,
373 getline(basic_istream<charT, traits>& is, basic_string<charT, traits, Allocator>& str);
375 typedef basic_string<char> string;
376 typedef basic_string<wchar_t> wstring;
377 typedef basic_string<char16_t> u16string;
378 typedef basic_string<char32_t> u32string;
977 // basic_string
980 basic_string<_CharT, _Traits, _Allocator>
981 operator+(const basic_string<_CharT, _Traits, _Allocator>& __x,
982 const basic_string<_CharT, _Traits, _Allocator>& __y);
985 basic_string<_CharT, _Traits, _Allocator>
986 operator+(const _CharT* __x, const basic_string<_CharT,_Traits,_Allocator>& __y);
989 basic_string<_CharT, _Traits, _Allocator>
990 operator+(_CharT __x, const basic_string<_CharT,_Traits,_Allocator>& __y);
993 basic_string<_CharT, _Traits, _Allocator>
994 operator+(const basic_string<_CharT, _Traits, _Allocator>& __x, const _CharT* __y);
997 basic_string<_CharT, _Traits, _Allocator>
998 operator+(const basic_string<_CharT, _Traits, _Allocator>& __x, _CharT __y);
1013 throw length_error("basic_string");
1015 assert(!"basic_string length_error");
1024 throw out_of_range("basic_string");
1026 assert(!"basic_string out_of_range");
1040 class _LIBCPP_VISIBLE basic_string
1044 typedef basic_string __self;
1056 typedef __debug_iter<basic_string, pointer> iterator;
1057 typedef __debug_iter<basic_string, const_pointer> const_iterator;
1059 friend class __debug_iter<basic_string, pointer>;
1060 friend class __debug_iter<basic_string, const_pointer>;
1135 _LIBCPP_INLINE_VISIBILITY basic_string()
1137 _LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type& __a);
1138 basic_string(const basic_string& __str);
1139 basic_string(const basic_string& __str, const allocator_type& __a);
1142 basic_string(basic_string&& __str)
1145 basic_string(basic_string&& __str, const allocator_type& __a);
1147 _LIBCPP_INLINE_VISIBILITY basic_string(const_pointer __s);
1149 basic_string(const_pointer __s, const allocator_type& __a);
1151 basic_string(const_pointer __s, size_type __n);
1153 basic_string(const_pointer __s, size_type __n, const allocator_type& __a);
1155 basic_string(size_type __n, value_type __c);
1157 basic_string(size_type __n, value_type __c, const allocator_type& __a);
1158 basic_string(const basic_string& __str, size_type __pos, size_type __n = npos,
1162 basic_string(_InputIterator __first, _InputIterator __last);
1165 basic_string(_InputIterator __first, _InputIterator __last, const allocator_type& __a);
1168 basic_string(initializer_list<value_type> __il);
1170 basic_string(initializer_list<value_type> __il, const allocator_type& __a);
1173 ~basic_string();
1175 basic_string& operator=(const basic_string& __str);
1178 basic_string& operator=(basic_string&& __str)
1182 _LIBCPP_INLINE_VISIBILITY basic_string& operator=(const_pointer __s) {return assign(__s);}
1183 basic_string& operator=(value_type __c);
1186 …basic_string& operator=(initializer_list<value_type> __il) {return assign(__il.begin(), __il.size(…
1257 …_LIBCPP_INLINE_VISIBILITY basic_string& operator+=(const basic_string& __str) {return append(__str…
1258 …_LIBCPP_INLINE_VISIBILITY basic_string& operator+=(const_pointer __s) {return append(__s);}
1259 …_LIBCPP_INLINE_VISIBILITY basic_string& operator+=(value_type __c) {push_back(__c); ret…
1261 …_LIBCPP_INLINE_VISIBILITY basic_string& operator+=(initializer_list<value_type> __il) {return appe…
1265 basic_string& append(const basic_string& __str);
1266 basic_string& append(const basic_string& __str, size_type __pos, size_type __n);
1267 basic_string& append(const_pointer __s, size_type __n);
1268 basic_string& append(const_pointer __s);
1269 basic_string& append(size_type __n, value_type __c);
1275 basic_string&
1282 basic_string&
1287 …basic_string& append(initializer_list<value_type> __il) {return append(__il.begin(), __il.size());}
1299 basic_string& assign(const basic_string& __str);
1302 basic_string& assign(basic_string&& str)
1305 basic_string& assign(const basic_string& __str, size_type __pos, size_type __n);
1306 basic_string& assign(const_pointer __s, size_type __n);
1307 basic_string& assign(const_pointer __s);
1308 basic_string& assign(size_type __n, value_type __c);
1314 basic_string&
1321 basic_string&
1326 …basic_string& assign(initializer_list<value_type> __il) {return assign(__il.begin(), __il.size());}
1330 basic_string& insert(size_type __pos1, const basic_string& __str);
1331 …basic_string& insert(size_type __pos1, const basic_string& __str, size_type __pos2, size_type __n);
1332 basic_string& insert(size_type __pos, const_pointer __s, size_type __n);
1333 basic_string& insert(size_type __pos, const_pointer __s);
1334 basic_string& insert(size_type __pos, size_type __n, value_type __c);
1359 basic_string& erase(size_type __pos = 0, size_type __n = npos);
1366 basic_string& replace(size_type __pos1, size_type __n1, const basic_string& __str);
1367 …basic_string& replace(size_type __pos1, size_type __n1, const basic_string& __str, size_type __pos…
1368 basic_string& replace(size_type __pos, size_type __n1, const_pointer __s, size_type __n2);
1369 basic_string& replace(size_type __pos, size_type __n1, const_pointer __s);
1370 basic_string& replace(size_type __pos, size_type __n1, size_type __n2, value_type __c);
1372 basic_string& replace(const_iterator __i1, const_iterator __i2, const basic_string& __str);
1374 … basic_string& replace(const_iterator __i1, const_iterator __i2, const_pointer __s, size_type __n);
1376 basic_string& replace(const_iterator __i1, const_iterator __i2, const_pointer __s);
1378 basic_string& replace(const_iterator __i1, const_iterator __i2, size_type __n, value_type __c);
1383 basic_string&
1388 … basic_string& replace(const_iterator __i1, const_iterator __i2, initializer_list<value_type> __il)
1394 basic_string substr(size_type __pos = 0, size_type __n = npos) const;
1397 void swap(basic_string& __str)
1410 size_type find(const basic_string& __str, size_type __pos = 0) const _NOEXCEPT;
1417 size_type rfind(const basic_string& __str, size_type __pos = npos) const _NOEXCEPT;
1424 size_type find_first_of(const basic_string& __str, size_type __pos = 0) const _NOEXCEPT;
1432 size_type find_last_of(const basic_string& __str, size_type __pos = npos) const _NOEXCEPT;
1440 size_type find_first_not_of(const basic_string& __str, size_type __pos = 0) const _NOEXCEPT;
1448 size_type find_last_not_of(const basic_string& __str, size_type __pos = npos) const _NOEXCEPT;
1456 int compare(const basic_string& __str) const _NOEXCEPT;
1458 int compare(size_type __pos1, size_type __n1, const basic_string& __str) const;
1459 …int compare(size_type __pos1, size_type __n1, const basic_string& __str, size_type __pos2, size_ty…
1580 void __copy_assign_alloc(const basic_string& __str)
1585 void __copy_assign_alloc(const basic_string& __str, true_type)
1596 void __copy_assign_alloc(const basic_string&, false_type) _NOEXCEPT
1601 void __move_assign(basic_string& __str, false_type);
1603 void __move_assign(basic_string& __str, true_type)
1609 __move_assign_alloc(basic_string& __str)
1617 void __move_assign_alloc(basic_string& __c, true_type)
1624 void __move_assign_alloc(basic_string&, false_type)
1649 friend basic_string operator+<>(const basic_string&, const basic_string&);
1650 friend basic_string operator+<>(const value_type*, const basic_string&);
1651 friend basic_string operator+<>(value_type, const basic_string&);
1652 friend basic_string operator+<>(const basic_string&, const value_type*);
1653 friend basic_string operator+<>(const basic_string&, value_type);
1661 basic_string<_CharT, _Traits, _Allocator>::__invalidate_all_iterators()
1674 basic_string<_CharT, _Traits, _Allocator>::__invalidate_iterators_past(size_type
1715 basic_string<_CharT, _Traits, _Allocator>::basic_string()
1723 basic_string<_CharT, _Traits, _Allocator>::basic_string(const allocator_type& __a)
1731 basic_string<_CharT, _Traits, _Allocator>::__init(const_pointer __s, size_type __sz, size_type __re…
1755 basic_string<_CharT, _Traits, _Allocator>::__init(const_pointer __s, size_type __sz)
1779 basic_string<_CharT, _Traits, _Allocator>::basic_string(const_pointer __s)
1789 basic_string<_CharT, _Traits, _Allocator>::basic_string(const_pointer __s, const allocator_type& __…
1800 basic_string<_CharT, _Traits, _Allocator>::basic_string(const_pointer __s, size_type __n)
1810 basic_string<_CharT, _Traits, _Allocator>::basic_string(const_pointer __s, size_type __n, const all…
1820 basic_string<_CharT, _Traits, _Allocator>::basic_string(const basic_string& __str)
1830 basic_string<_CharT, _Traits, _Allocator>::basic_string(const basic_string& __str, const allocator_…
1843 basic_string<_CharT, _Traits, _Allocator>::basic_string(basic_string&& __str)
1855 basic_string<_CharT, _Traits, _Allocator>::basic_string(basic_string&& __str, const allocator_type&…
1872 basic_string<_CharT, _Traits, _Allocator>::__init(size_type __n, value_type __c)
1896 basic_string<_CharT, _Traits, _Allocator>::basic_string(size_type __n, value_type __c)
1903 basic_string<_CharT, _Traits, _Allocator>::basic_string(size_type __n, value_type __c, const alloca…
1910 basic_string<_CharT, _Traits, _Allocator>::basic_string(const basic_string& __str, size_type __pos,…
1928 basic_string<_CharT, _Traits, _Allocator>::__init(_InputIterator __first, _InputIterator __last)
1955 basic_string<_CharT, _Traits, _Allocator>::__init(_ForwardIterator __first, _ForwardIterator __last)
1982 basic_string<_CharT, _Traits, _Allocator>::basic_string(_InputIterator __first, _InputIterator __la…
1990 basic_string<_CharT, _Traits, _Allocator>::basic_string(_InputIterator __first, _InputIterator __la…
2001 basic_string<_CharT, _Traits, _Allocator>::basic_string(initializer_list<value_type> __il)
2008 basic_string<_CharT, _Traits, _Allocator>::basic_string(initializer_list<value_type> __il, const al…
2017 basic_string<_CharT, _Traits, _Allocator>::~basic_string()
2026 basic_string<_CharT, _Traits, _Allocator>::__grow_by_and_replace
2057 basic_string<_CharT, _Traits, _Allocator>::__grow_by(size_type __old_cap, size_type __delta_cap, si…
2083 basic_string<_CharT, _Traits, _Allocator>&
2084 basic_string<_CharT, _Traits, _Allocator>::assign(const_pointer __s, size_type __n)
2107 basic_string<_CharT, _Traits, _Allocator>&
2108 basic_string<_CharT, _Traits, _Allocator>::assign(size_type __n, value_type __c)
2126 basic_string<_CharT, _Traits, _Allocator>&
2127 basic_string<_CharT, _Traits, _Allocator>::operator=(value_type __c)
2147 basic_string<_CharT, _Traits, _Allocator>&
2148 basic_string<_CharT, _Traits, _Allocator>::operator=(const basic_string& __str)
2163 basic_string<_CharT, _Traits, _Allocator>::__move_assign(basic_string& __str, false_type)
2174 basic_string<_CharT, _Traits, _Allocator>::__move_assign(basic_string& __str, true_type)
2186 basic_string<_CharT, _Traits, _Allocator>&
2187 basic_string<_CharT, _Traits, _Allocator>::operator=(basic_string&& __str)
2204 basic_string<_CharT, _Traits, _Allocator>&
2206 basic_string<_CharT, _Traits, _Allocator>::assign(_InputIterator __first, _InputIterator __last)
2219 basic_string<_CharT, _Traits, _Allocator>&
2221 basic_string<_CharT, _Traits, _Allocator>::assign(_ForwardIterator __first, _ForwardIterator __last)
2242 basic_string<_CharT, _Traits, _Allocator>&
2243 basic_string<_CharT, _Traits, _Allocator>::assign(const basic_string& __str)
2249 basic_string<_CharT, _Traits, _Allocator>&
2250 basic_string<_CharT, _Traits, _Allocator>::assign(const basic_string& __str, size_type __pos, size_…
2259 basic_string<_CharT, _Traits, _Allocator>&
2260 basic_string<_CharT, _Traits, _Allocator>::assign(const_pointer __s)
2271 basic_string<_CharT, _Traits, _Allocator>&
2272 basic_string<_CharT, _Traits, _Allocator>::append(const_pointer __s, size_type __n)
2296 basic_string<_CharT, _Traits, _Allocator>&
2297 basic_string<_CharT, _Traits, _Allocator>::append(size_type __n, value_type __c)
2316 basic_string<_CharT, _Traits, _Allocator>::push_back(value_type __c)
2334 basic_string<_CharT, _Traits, _Allocator>&
2336 basic_string<_CharT, _Traits, _Allocator>::append(_InputIterator __first, _InputIterator __last)
2348 basic_string<_CharT, _Traits, _Allocator>&
2350 basic_string<_CharT, _Traits, _Allocator>::append(_ForwardIterator __first, _ForwardIterator __last)
2370 basic_string<_CharT, _Traits, _Allocator>&
2371 basic_string<_CharT, _Traits, _Allocator>::append(const basic_string& __str)
2377 basic_string<_CharT, _Traits, _Allocator>&
2378 basic_string<_CharT, _Traits, _Allocator>::append(const basic_string& __str, size_type __pos, size_…
2387 basic_string<_CharT, _Traits, _Allocator>&
2388 basic_string<_CharT, _Traits, _Allocator>::append(const_pointer __s)
2399 basic_string<_CharT, _Traits, _Allocator>&
2400 basic_string<_CharT, _Traits, _Allocator>::insert(size_type __pos, const_pointer __s, size_type __n)
2433 basic_string<_CharT, _Traits, _Allocator>&
2434 basic_string<_CharT, _Traits, _Allocator>::insert(size_type __pos, size_type __n, value_type __c)
2469 typename basic_string<_CharT, _Traits, _Allocator>::iterator
2471 basic_string<_CharT, _Traits, _Allocator>::insert(const_iterator __pos, _InputIterator __first, _In…
2487 typename basic_string<_CharT, _Traits, _Allocator>::iterator
2489 basic_string<_CharT, _Traits, _Allocator>::insert(const_iterator __pos, _ForwardIterator __first, _…
2521 basic_string<_CharT, _Traits, _Allocator>&
2522 basic_string<_CharT, _Traits, _Allocator>::insert(size_type __pos1, const basic_string& __str)
2528 basic_string<_CharT, _Traits, _Allocator>&
2529 basic_string<_CharT, _Traits, _Allocator>::insert(size_type __pos1, const basic_string& __str,
2539 basic_string<_CharT, _Traits, _Allocator>&
2540 basic_string<_CharT, _Traits, _Allocator>::insert(size_type __pos, const_pointer __s)
2549 typename basic_string<_CharT, _Traits, _Allocator>::iterator
2550 basic_string<_CharT, _Traits, _Allocator>::insert(const_iterator __pos, value_type __c)
2576 typename basic_string<_CharT, _Traits, _Allocator>::iterator
2577 basic_string<_CharT, _Traits, _Allocator>::insert(const_iterator __pos, size_type __n, value_type _…
2587 basic_string<_CharT, _Traits, _Allocator>&
2588 basic_string<_CharT, _Traits, _Allocator>::replace(size_type __pos, size_type __n1, const_pointer _…
2641 basic_string<_CharT, _Traits, _Allocator>&
2642 basic_string<_CharT, _Traits, _Allocator>::replace(size_type __pos, size_type __n1, size_type __n2,…
2678 basic_string<_CharT, _Traits, _Allocator>&
2680 basic_string<_CharT, _Traits, _Allocator>::replace(const_iterator __i1, const_iterator __i2,
2703 basic_string<_CharT, _Traits, _Allocator>&
2704 basic_string<_CharT, _Traits, _Allocator>::replace(size_type __pos1, size_type __n1, const basic_st…
2710 basic_string<_CharT, _Traits, _Allocator>&
2711 basic_string<_CharT, _Traits, _Allocator>::replace(size_type __pos1, size_type __n1, const basic_st…
2721 basic_string<_CharT, _Traits, _Allocator>&
2722 basic_string<_CharT, _Traits, _Allocator>::replace(size_type __pos, size_type __n1, const_pointer _…
2732 basic_string<_CharT, _Traits, _Allocator>&
2733 basic_string<_CharT, _Traits, _Allocator>::replace(const_iterator __i1, const_iterator __i2, const …
2741 basic_string<_CharT, _Traits, _Allocator>&
2742 basic_string<_CharT, _Traits, _Allocator>::replace(const_iterator __i1, const_iterator __i2, const_…
2749 basic_string<_CharT, _Traits, _Allocator>&
2750 basic_string<_CharT, _Traits, _Allocator>::replace(const_iterator __i1, const_iterator __i2, const_…
2757 basic_string<_CharT, _Traits, _Allocator>&
2758 basic_string<_CharT, _Traits, _Allocator>::replace(const_iterator __i1, const_iterator __i2, size_t…
2766 basic_string<_CharT, _Traits, _Allocator>&
2767 basic_string<_CharT, _Traits, _Allocator>::erase(size_type __pos, size_type __n)
2789 typename basic_string<_CharT, _Traits, _Allocator>::iterator
2790 basic_string<_CharT, _Traits, _Allocator>::erase(const_iterator __pos)
2800 typename basic_string<_CharT, _Traits, _Allocator>::iterator
2801 basic_string<_CharT, _Traits, _Allocator>::erase(const_iterator __first, const_iterator __last)
2812 basic_string<_CharT, _Traits, _Allocator>::pop_back()
2836 basic_string<_CharT, _Traits, _Allocator>::clear() _NOEXCEPT
2854 basic_string<_CharT, _Traits, _Allocator>::__erase_to_end(size_type __pos)
2871 basic_string<_CharT, _Traits, _Allocator>::resize(size_type __n, value_type __c)
2882 typename basic_string<_CharT, _Traits, _Allocator>::size_type
2883 basic_string<_CharT, _Traits, _Allocator>::max_size() const _NOEXCEPT
2895 basic_string<_CharT, _Traits, _Allocator>::reserve(size_type __res_arg)
2957 typename basic_string<_CharT, _Traits, _Allocator>::const_reference
2958 basic_string<_CharT, _Traits, _Allocator>::operator[](size_type __pos) const
2968 typename basic_string<_CharT, _Traits, _Allocator>::reference
2969 basic_string<_CharT, _Traits, _Allocator>::operator[](size_type __pos)
2978 typename basic_string<_CharT, _Traits, _Allocator>::const_reference
2979 basic_string<_CharT, _Traits, _Allocator>::at(size_type __n) const
2987 typename basic_string<_CharT, _Traits, _Allocator>::reference
2988 basic_string<_CharT, _Traits, _Allocator>::at(size_type __n)
2997 typename basic_string<_CharT, _Traits, _Allocator>::reference
2998 basic_string<_CharT, _Traits, _Allocator>::front()
3008 typename basic_string<_CharT, _Traits, _Allocator>::const_reference
3009 basic_string<_CharT, _Traits, _Allocator>::front() const
3019 typename basic_string<_CharT, _Traits, _Allocator>::reference
3020 basic_string<_CharT, _Traits, _Allocator>::back()
3030 typename basic_string<_CharT, _Traits, _Allocator>::const_reference
3031 basic_string<_CharT, _Traits, _Allocator>::back() const
3040 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3041 basic_string<_CharT, _Traits, _Allocator>::copy(pointer __s, size_type __n, size_type __pos) const
3053 basic_string<_CharT, _Traits, _Allocator>
3054 basic_string<_CharT, _Traits, _Allocator>::substr(size_type __pos, size_type __n) const
3056 return basic_string(*this, __pos, __n, __alloc());
3062 basic_string<_CharT, _Traits, _Allocator>::swap(basic_string& __str)
3086 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3087 basic_string<_CharT, _Traits, _Allocator>::find(const_pointer __s,
3109 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3110 basic_string<_CharT, _Traits, _Allocator>::find(const basic_string& __str,
3118 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3119 basic_string<_CharT, _Traits, _Allocator>::find(const_pointer __s,
3129 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3130 basic_string<_CharT, _Traits, _Allocator>::find(value_type __c,
3146 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3147 basic_string<_CharT, _Traits, _Allocator>::rfind(const_pointer __s,
3170 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3171 basic_string<_CharT, _Traits, _Allocator>::rfind(const basic_string& __str,
3179 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3180 basic_string<_CharT, _Traits, _Allocator>::rfind(const_pointer __s,
3190 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3191 basic_string<_CharT, _Traits, _Allocator>::rfind(value_type __c,
3214 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3215 basic_string<_CharT, _Traits, _Allocator>::find_first_of(const_pointer __s,
3235 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3236 basic_string<_CharT, _Traits, _Allocator>::find_first_of(const basic_string& __str,
3244 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3245 basic_string<_CharT, _Traits, _Allocator>::find_first_of(const_pointer __s,
3256 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3257 basic_string<_CharT, _Traits, _Allocator>::find_first_of(value_type __c,
3266 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3267 basic_string<_CharT, _Traits, _Allocator>::find_last_of(const_pointer __s,
3294 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3295 basic_string<_CharT, _Traits, _Allocator>::find_last_of(const basic_string& __str,
3303 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3304 basic_string<_CharT, _Traits, _Allocator>::find_last_of(const_pointer __s,
3315 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3316 basic_string<_CharT, _Traits, _Allocator>::find_last_of(value_type __c,
3325 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3326 basic_string<_CharT, _Traits, _Allocator>::find_first_not_of(const_pointer __s,
3347 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3348 basic_string<_CharT, _Traits, _Allocator>::find_first_not_of(const basic_string& __str,
3356 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3357 basic_string<_CharT, _Traits, _Allocator>::find_first_not_of(const_pointer __s,
3368 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3369 basic_string<_CharT, _Traits, _Allocator>::find_first_not_of(value_type __c,
3387 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3388 basic_string<_CharT, _Traits, _Allocator>::find_last_not_of(const_pointer __s,
3409 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3410 basic_string<_CharT, _Traits, _Allocator>::find_last_not_of(const basic_string& __str,
3418 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3419 basic_string<_CharT, _Traits, _Allocator>::find_last_not_of(const_pointer __s,
3430 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3431 basic_string<_CharT, _Traits, _Allocator>::find_last_not_of(value_type __c,
3451 basic_string<_CharT, _Traits, _Allocator>::compare(const basic_string& __str) const _NOEXCEPT
3469 basic_string<_CharT, _Traits, _Allocator>::compare(size_type __pos1,
3471 const basic_string& __str) const
3478 basic_string<_CharT, _Traits, _Allocator>::compare(size_type __pos1,
3480 const basic_string& __str,
3493 basic_string<_CharT, _Traits, _Allocator>::compare(const_pointer __s) const _NOEXCEPT
3503 basic_string<_CharT, _Traits, _Allocator>::compare(size_type __pos1,
3515 basic_string<_CharT, _Traits, _Allocator>::compare(size_type __pos1,
3543 basic_string<_CharT, _Traits, _Allocator>::__invariants() const
3561 operator==(const basic_string<_CharT, _Traits, _Allocator>& __lhs,
3562 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
3573 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
3581 operator==(const basic_string<_CharT,_Traits,_Allocator>& __lhs,
3592 operator!=(const basic_string<_CharT,_Traits,_Allocator>& __lhs,
3593 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
3602 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
3610 operator!=(const basic_string<_CharT, _Traits, _Allocator>& __lhs,
3621 operator< (const basic_string<_CharT, _Traits, _Allocator>& __lhs,
3622 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
3630 operator< (const basic_string<_CharT, _Traits, _Allocator>& __lhs,
3640 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
3650 operator> (const basic_string<_CharT, _Traits, _Allocator>& __lhs,
3651 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
3659 operator> (const basic_string<_CharT, _Traits, _Allocator>& __lhs,
3669 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
3679 operator<=(const basic_string<_CharT, _Traits, _Allocator>& __lhs,
3680 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
3688 operator<=(const basic_string<_CharT, _Traits, _Allocator>& __lhs,
3698 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
3708 operator>=(const basic_string<_CharT, _Traits, _Allocator>& __lhs,
3709 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
3717 operator>=(const basic_string<_CharT, _Traits, _Allocator>& __lhs,
3727 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
3735 basic_string<_CharT, _Traits, _Allocator>
3736 operator+(const basic_string<_CharT, _Traits, _Allocator>& __lhs,
3737 const basic_string<_CharT, _Traits, _Allocator>& __rhs)
3739 basic_string<_CharT, _Traits, _Allocator> __r(__lhs.get_allocator());
3740 typename basic_string<_CharT, _Traits, _Allocator>::size_type __lhs_sz = __lhs.size();
3741 typename basic_string<_CharT, _Traits, _Allocator>::size_type __rhs_sz = __rhs.size();
3748 basic_string<_CharT, _Traits, _Allocator>
3749 operator+(const _CharT* __lhs , const basic_string<_CharT,_Traits,_Allocator>& __rhs)
3751 basic_string<_CharT, _Traits, _Allocator> __r(__rhs.get_allocator());
3752 typename basic_string<_CharT, _Traits, _Allocator>::size_type __lhs_sz = _Traits::length(__lhs);
3753 typename basic_string<_CharT, _Traits, _Allocator>::size_type __rhs_sz = __rhs.size();
3760 basic_string<_CharT, _Traits, _Allocator>
3761 operator+(_CharT __lhs, const basic_string<_CharT,_Traits,_Allocator>& __rhs)
3763 basic_string<_CharT, _Traits, _Allocator> __r(__rhs.get_allocator());
3764 typename basic_string<_CharT, _Traits, _Allocator>::size_type __rhs_sz = __rhs.size();
3771 basic_string<_CharT, _Traits, _Allocator>
3772 operator+(const basic_string<_CharT, _Traits, _Allocator>& __lhs, const _CharT* __rhs)
3774 basic_string<_CharT, _Traits, _Allocator> __r(__lhs.get_allocator());
3775 typename basic_string<_CharT, _Traits, _Allocator>::size_type __lhs_sz = __lhs.size();
3776 typename basic_string<_CharT, _Traits, _Allocator>::size_type __rhs_sz = _Traits::length(__rhs);
3783 basic_string<_CharT, _Traits, _Allocator>
3784 operator+(const basic_string<_CharT, _Traits, _Allocator>& __lhs, _CharT __rhs)
3786 basic_string<_CharT, _Traits, _Allocator> __r(__lhs.get_allocator());
3787 typename basic_string<_CharT, _Traits, _Allocator>::size_type __lhs_sz = __lhs.size();
3797 basic_string<_CharT, _Traits, _Allocator>
3798 operator+(basic_string<_CharT, _Traits, _Allocator>&& __lhs, const basic_string<_CharT, _Traits, _A…
3805 basic_string<_CharT, _Traits, _Allocator>
3806 operator+(const basic_string<_CharT, _Traits, _Allocator>& __lhs, basic_string<_CharT, _Traits, _Al…
3813 basic_string<_CharT, _Traits, _Allocator>
3814 operator+(basic_string<_CharT, _Traits, _Allocator>&& __lhs, basic_string<_CharT, _Traits, _Allocat…
3821 basic_string<_CharT, _Traits, _Allocator>
3822 operator+(const _CharT* __lhs , basic_string<_CharT,_Traits,_Allocator>&& __rhs)
3829 basic_string<_CharT, _Traits, _Allocator>
3830 operator+(_CharT __lhs, basic_string<_CharT,_Traits,_Allocator>&& __rhs)
3838 basic_string<_CharT, _Traits, _Allocator>
3839 operator+(basic_string<_CharT, _Traits, _Allocator>&& __lhs, const _CharT* __rhs)
3846 basic_string<_CharT, _Traits, _Allocator>
3847 operator+(basic_string<_CharT, _Traits, _Allocator>&& __lhs, _CharT __rhs)
3860 swap(basic_string<_CharT, _Traits, _Allocator>& __lhs,
3861 basic_string<_CharT, _Traits, _Allocator>& __rhs)
3869 typedef basic_string<char16_t> u16string;
3870 typedef basic_string<char32_t> u32string;
3915 const typename basic_string<_CharT, _Traits, _Allocator>::size_type
3916 basic_string<_CharT, _Traits, _Allocator>::npos;
3926 struct _LIBCPP_VISIBLE hash<basic_string<_CharT, _Traits, _Allocator> >
3927 : public unary_function<basic_string<_CharT, _Traits, _Allocator>, size_t>
3930 operator()(const basic_string<_CharT, _Traits, _Allocator>& __val) const _NOEXCEPT;
3935 hash<basic_string<_CharT, _Traits, _Allocator> >::operator()(
3936 const basic_string<_CharT, _Traits, _Allocator>& __val) const _NOEXCEPT
3944 const basic_string<_CharT, _Traits, _Allocator>& __str);
3949 basic_string<_CharT, _Traits, _Allocator>& __str);
3954 basic_string<_CharT, _Traits, _Allocator>& __str, _CharT __dlm);
3960 basic_string<_CharT, _Traits, _Allocator>& __str);
3968 basic_string<_CharT, _Traits, _Allocator>& __str, _CharT __dlm);
3974 basic_string<_CharT, _Traits, _Allocator>& __str);
3978 _LIBCPP_EXTERN_TEMPLATE(class basic_string<char>)
3979 _LIBCPP_EXTERN_TEMPLATE(class basic_string<wchar_t>)