Lines Matching refs:_Traits

594 template<class _CharT, class _Traits, class _Allocator>
595 basic_string<_CharT, _Traits, _Allocator>
597 operator+(const basic_string<_CharT, _Traits, _Allocator>& __x,
598 const basic_string<_CharT, _Traits, _Allocator>& __y);
600 template<class _CharT, class _Traits, class _Allocator>
602 basic_string<_CharT, _Traits, _Allocator>
603 operator+(const _CharT* __x, const basic_string<_CharT,_Traits,_Allocator>& __y);
605 template<class _CharT, class _Traits, class _Allocator>
607 basic_string<_CharT, _Traits, _Allocator>
608 operator+(_CharT __x, const basic_string<_CharT,_Traits,_Allocator>& __y);
610 template<class _CharT, class _Traits, class _Allocator>
612 basic_string<_CharT, _Traits, _Allocator>
613 operator+(const basic_string<_CharT, _Traits, _Allocator>& __x, const _CharT* __y);
615 template<class _CharT, class _Traits, class _Allocator>
617 basic_string<_CharT, _Traits, _Allocator>
618 operator+(const basic_string<_CharT, _Traits, _Allocator>& __x, _CharT __y);
633 template <class _CharT, class _Traits, class _Tp>
635 is_convertible<const _Tp&, basic_string_view<_CharT, _Traits> >::value &&
647 template<class _CharT, class _Traits, class _Allocator>
659 typedef basic_string_view<_CharT, _Traits> __self_view;
660 typedef _Traits traits_type;
873 …template<class _Tp, class = __enable_if_t<__can_be_converted_to_string_view<_CharT, _Traits, _Tp>:…
878 …template<class _Tp, class = __enable_if_t<__can_be_converted_to_string_view<_CharT, _Traits, _Tp>:…
883 …template<class _Tp, class = __enable_if_t<__can_be_converted_to_string_view<_CharT, _Traits, _Tp>:…
907 …template <class _Tp, class = __enable_if_t<__can_be_converted_to_string_view<_CharT, _Traits, _Tp>…
1013 __can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value
1041 __can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value
1052 __can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value
1103 __can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value,
1120 __can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value
1156 __can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value,
1166 …__can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value && !__is_same_uncvref<_Tp, basic_st…
1213 __can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value,
1223 …__can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value && !__is_same_uncvref<_Tp, basic_s…
1238 __can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value,
1295 __can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value,
1312 __can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value,
1329 __can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value,
1347 __can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value,
1365 __can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value,
1383 __can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value,
1401 __can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value,
1410 __can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value,
1425 …__can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value && !__is_same_uncvref<_Tp, basic_s…
1441 { return !empty() && _Traits::eq(front(), __c); }
1453 { return !empty() && _Traits::eq(back(), __c); }
1848 class _Traits,
1852 explicit basic_string(basic_string_view<_CharT, _Traits>, const _Allocator& = _Allocator())
1853 -> basic_string<_CharT, _Traits, _Allocator>;
1856 class _Traits,
1861 basic_string(basic_string_view<_CharT, _Traits>, _Sz, _Sz, const _Allocator& = _Allocator())
1862 -> basic_string<_CharT, _Traits, _Allocator>;
1865 template <class _CharT, class _Traits, class _Allocator>
1868 basic_string<_CharT, _Traits, _Allocator>::__invalidate_iterators_past(size_type __pos)
1895 template <class _CharT, class _Traits, class _Allocator>
1897 basic_string<_CharT, _Traits, _Allocator>::basic_string()
1905 template <class _CharT, class _Traits, class _Allocator>
1907 basic_string<_CharT, _Traits, _Allocator>::basic_string(const allocator_type& __a)
1919 template <class _CharT, class _Traits, class _Allocator>
1921 void basic_string<_CharT, _Traits, _Allocator>::__init(const value_type* __s,
1948 template <class _CharT, class _Traits, class _Allocator>
1951 basic_string<_CharT, _Traits, _Allocator>::__init(const value_type* __s, size_type __sz)
1976 template <class _CharT, class _Traits, class _Allocator>
1979 basic_string<_CharT, _Traits, _Allocator>::basic_string(const _CharT* __s, const _Allocator& __a)
1987 template <class _CharT, class _Traits, class _Allocator>
1989 basic_string<_CharT, _Traits, _Allocator>::basic_string(const _CharT* __s, size_type __n)
1997 template <class _CharT, class _Traits, class _Allocator>
1999 basic_string<_CharT, _Traits, _Allocator>::basic_string(const _CharT* __s, size_type __n, const _Al…
2007 template <class _CharT, class _Traits, class _Allocator>
2009 basic_string<_CharT, _Traits, _Allocator>::basic_string(const basic_string& __str)
2020 template <class _CharT, class _Traits, class _Allocator>
2022 basic_string<_CharT, _Traits, _Allocator>::basic_string(
2034 template <class _CharT, class _Traits, class _Allocator>
2036 void basic_string<_CharT, _Traits, _Allocator>::__init_copy_ctor_external(
2059 template <class _CharT, class _Traits, class _Allocator>
2061 basic_string<_CharT, _Traits, _Allocator>::basic_string(basic_string&& __str)
2075 template <class _CharT, class _Traits, class _Allocator>
2077 basic_string<_CharT, _Traits, _Allocator>::basic_string(basic_string&& __str, const allocator_type&…
2099 template <class _CharT, class _Traits, class _Allocator>
2102 basic_string<_CharT, _Traits, _Allocator>::__init(size_type __n, value_type __c)
2127 template <class _CharT, class _Traits, class _Allocator>
2129 basic_string<_CharT, _Traits, _Allocator>::basic_string(size_type __n, _CharT __c)
2136 template <class _CharT, class _Traits, class _Allocator>
2139 basic_string<_CharT, _Traits, _Allocator>::basic_string(size_type __n, _CharT __c, const _Allocator…
2146 template <class _CharT, class _Traits, class _Allocator>
2148 basic_string<_CharT, _Traits, _Allocator>::basic_string(const basic_string& __str,
2160 template <class _CharT, class _Traits, class _Allocator>
2162 basic_string<_CharT, _Traits, _Allocator>::basic_string(const basic_string& __str, size_type __pos,
2173 template <class _CharT, class _Traits, class _Allocator>
2176 basic_string<_CharT, _Traits, _Allocator>::basic_string(
2186 template <class _CharT, class _Traits, class _Allocator>
2189 basic_string<_CharT, _Traits, _Allocator>::basic_string(const _Tp & __t)
2197 template <class _CharT, class _Traits, class _Allocator>
2200 basic_string<_CharT, _Traits, _Allocator>::basic_string(const _Tp & __t, const _Allocator& __a)
2208 template <class _CharT, class _Traits, class _Allocator>
2215 basic_string<_CharT, _Traits, _Allocator>::__init(_InputIterator __first, _InputIterator __last)
2235 template <class _CharT, class _Traits, class _Allocator>
2242 basic_string<_CharT, _Traits, _Allocator>::__init(_ForwardIterator __first, _ForwardIterator __last)
2283 template <class _CharT, class _Traits, class _Allocator>
2286 basic_string<_CharT, _Traits, _Allocator>::basic_string(_InputIterator __first, _InputIterator __la…
2293 template <class _CharT, class _Traits, class _Allocator>
2296 basic_string<_CharT, _Traits, _Allocator>::basic_string(_InputIterator __first, _InputIterator __la…
2306 template <class _CharT, class _Traits, class _Allocator>
2308 basic_string<_CharT, _Traits, _Allocator>::basic_string(
2316 template <class _CharT, class _Traits, class _Allocator>
2318 basic_string<_CharT, _Traits, _Allocator>::basic_string(
2328 template <class _CharT, class _Traits, class _Allocator>
2330 basic_string<_CharT, _Traits, _Allocator>::~basic_string()
2337 template <class _CharT, class _Traits, class _Allocator>
2340 basic_string<_CharT, _Traits, _Allocator>::__grow_by_and_replace
2373 template <class _CharT, class _Traits, class _Allocator>
2376 basic_string<_CharT, _Traits, _Allocator>::__grow_by(size_type __old_cap, size_type __delta_cap, si…
2406 template <class _CharT, class _Traits, class _Allocator>
2409 basic_string<_CharT, _Traits, _Allocator>&
2410 basic_string<_CharT, _Traits, _Allocator>::__assign_no_alias(
2426 template <class _CharT, class _Traits, class _Allocator>
2428 basic_string<_CharT, _Traits, _Allocator>&
2429 basic_string<_CharT, _Traits, _Allocator>::__assign_external(
2443 template <class _CharT, class _Traits, class _Allocator>
2445 basic_string<_CharT, _Traits, _Allocator>&
2446 basic_string<_CharT, _Traits, _Allocator>::assign(const value_type* __s, size_type __n)
2454 template <class _CharT, class _Traits, class _Allocator>
2456 basic_string<_CharT, _Traits, _Allocator>&
2457 basic_string<_CharT, _Traits, _Allocator>::assign(size_type __n, value_type __c)
2470 template <class _CharT, class _Traits, class _Allocator>
2472 basic_string<_CharT, _Traits, _Allocator>&
2473 basic_string<_CharT, _Traits, _Allocator>::operator=(value_type __c)
2492 template <class _CharT, class _Traits, class _Allocator>
2494 basic_string<_CharT, _Traits, _Allocator>&
2495 basic_string<_CharT, _Traits, _Allocator>::operator=(const basic_string& __str)
2514 template <class _CharT, class _Traits, class _Allocator>
2517 basic_string<_CharT, _Traits, _Allocator>::__move_assign(basic_string& __str, false_type)
2526 template <class _CharT, class _Traits, class _Allocator>
2529 basic_string<_CharT, _Traits, _Allocator>::__move_assign(basic_string& __str, true_type)
2556 template <class _CharT, class _Traits, class _Allocator>
2558 basic_string<_CharT, _Traits, _Allocator>&
2559 basic_string<_CharT, _Traits, _Allocator>::operator=(basic_string&& __str)
2569 template <class _CharT, class _Traits, class _Allocator>
2575 basic_string<_CharT, _Traits, _Allocator>&
2577 basic_string<_CharT, _Traits, _Allocator>::assign(_InputIterator __first, _InputIterator __last)
2584 template <class _CharT, class _Traits, class _Allocator>
2590 basic_string<_CharT, _Traits, _Allocator>&
2592 basic_string<_CharT, _Traits, _Allocator>::assign(_ForwardIterator __first, _ForwardIterator __last)
2621 template <class _CharT, class _Traits, class _Allocator>
2623 basic_string<_CharT, _Traits, _Allocator>&
2624 basic_string<_CharT, _Traits, _Allocator>::assign(const basic_string& __str, size_type __pos, size_…
2632 template <class _CharT, class _Traits, class _Allocator>
2637 __can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value
2638 && !__is_same_uncvref<_Tp, basic_string<_CharT, _Traits, _Allocator> >::value,
2639 basic_string<_CharT, _Traits, _Allocator>&
2641 basic_string<_CharT, _Traits, _Allocator>::assign(const _Tp & __t, size_type __pos, size_type __n)
2651 template <class _CharT, class _Traits, class _Allocator>
2653 basic_string<_CharT, _Traits, _Allocator>&
2654 basic_string<_CharT, _Traits, _Allocator>::__assign_external(const value_type* __s) {
2658 template <class _CharT, class _Traits, class _Allocator>
2660 basic_string<_CharT, _Traits, _Allocator>&
2661 basic_string<_CharT, _Traits, _Allocator>::assign(const value_type* __s)
2672 template <class _CharT, class _Traits, class _Allocator>
2674 basic_string<_CharT, _Traits, _Allocator>&
2675 basic_string<_CharT, _Traits, _Allocator>::append(const value_type* __s, size_type __n)
2696 template <class _CharT, class _Traits, class _Allocator>
2698 basic_string<_CharT, _Traits, _Allocator>&
2699 basic_string<_CharT, _Traits, _Allocator>::append(size_type __n, value_type __c)
2716 template <class _CharT, class _Traits, class _Allocator>
2718 basic_string<_CharT, _Traits, _Allocator>::__append_default_init(size_type __n)
2733 template <class _CharT, class _Traits, class _Allocator>
2736 basic_string<_CharT, _Traits, _Allocator>::push_back(value_type __c)
2771 template <class _CharT, class _Traits, class _Allocator>
2777 basic_string<_CharT, _Traits, _Allocator>&
2779 basic_string<_CharT, _Traits, _Allocator>::append(
2807 template <class _CharT, class _Traits, class _Allocator>
2809 basic_string<_CharT, _Traits, _Allocator>&
2810 basic_string<_CharT, _Traits, _Allocator>::append(const basic_string& __str)
2815 template <class _CharT, class _Traits, class _Allocator>
2817 basic_string<_CharT, _Traits, _Allocator>&
2818 basic_string<_CharT, _Traits, _Allocator>::append(const basic_string& __str, size_type __pos, size_…
2826 template <class _CharT, class _Traits, class _Allocator>
2831 …n_be_converted_to_string_view<_CharT, _Traits, _Tp>::value && !__is_same_uncvref<_Tp, basic_strin…
2832 basic_string<_CharT, _Traits, _Allocator>&
2834 basic_string<_CharT, _Traits, _Allocator>::append(const _Tp & __t, size_type __pos, size_type __n)
2843 template <class _CharT, class _Traits, class _Allocator>
2845 basic_string<_CharT, _Traits, _Allocator>&
2846 basic_string<_CharT, _Traits, _Allocator>::append(const value_type* __s)
2854 template <class _CharT, class _Traits, class _Allocator>
2856 basic_string<_CharT, _Traits, _Allocator>&
2857 basic_string<_CharT, _Traits, _Allocator>::insert(size_type __pos, const value_type* __s, size_type…
2894 template <class _CharT, class _Traits, class _Allocator>
2896 basic_string<_CharT, _Traits, _Allocator>&
2897 basic_string<_CharT, _Traits, _Allocator>::insert(size_type __pos, size_type __n, value_type __c)
2926 template <class _CharT, class _Traits, class _Allocator>
2932 typename basic_string<_CharT, _Traits, _Allocator>::iterator
2934 basic_string<_CharT, _Traits, _Allocator>::insert(const_iterator __pos, _InputIterator __first, _In…
2943 template <class _CharT, class _Traits, class _Allocator>
2949 typename basic_string<_CharT, _Traits, _Allocator>::iterator
2951 basic_string<_CharT, _Traits, _Allocator>::insert(const_iterator __pos, _ForwardIterator __first, _…
2972 template <class _CharT, class _Traits, class _Allocator>
2974 basic_string<_CharT, _Traits, _Allocator>&
2975 basic_string<_CharT, _Traits, _Allocator>::insert(size_type __pos1, const basic_string& __str)
2980 template <class _CharT, class _Traits, class _Allocator>
2982 basic_string<_CharT, _Traits, _Allocator>&
2983 basic_string<_CharT, _Traits, _Allocator>::insert(size_type __pos1, const basic_string& __str,
2992 template <class _CharT, class _Traits, class _Allocator>
2997 …n_be_converted_to_string_view<_CharT, _Traits, _Tp>::value && !__is_same_uncvref<_Tp, basic_strin…
2998 basic_string<_CharT, _Traits, _Allocator>&
3000 basic_string<_CharT, _Traits, _Allocator>::insert(size_type __pos1, const _Tp& __t,
3010 template <class _CharT, class _Traits, class _Allocator>
3012 basic_string<_CharT, _Traits, _Allocator>&
3013 basic_string<_CharT, _Traits, _Allocator>::insert(size_type __pos, const value_type* __s)
3019 template <class _CharT, class _Traits, class _Allocator>
3021 typename basic_string<_CharT, _Traits, _Allocator>::iterator
3022 basic_string<_CharT, _Traits, _Allocator>::insert(const_iterator __pos, value_type __c)
3050 template <class _CharT, class _Traits, class _Allocator>
3052 typename basic_string<_CharT, _Traits, _Allocator>::iterator
3053 basic_string<_CharT, _Traits, _Allocator>::insert(const_iterator __pos, size_type __n, value_type _…
3065 template <class _CharT, class _Traits, class _Allocator>
3067 basic_string<_CharT, _Traits, _Allocator>&
3068 basic_string<_CharT, _Traits, _Allocator>::replace(size_type __pos, size_type __n1, const value_typ…
3119 template <class _CharT, class _Traits, class _Allocator>
3121 basic_string<_CharT, _Traits, _Allocator>&
3122 basic_string<_CharT, _Traits, _Allocator>::replace(size_type __pos, size_type __n1, size_type __n2,…
3149 template <class _CharT, class _Traits, class _Allocator>
3155 basic_string<_CharT, _Traits, _Allocator>&
3157 basic_string<_CharT, _Traits, _Allocator>::replace(const_iterator __i1, const_iterator __i2,
3164 template <class _CharT, class _Traits, class _Allocator>
3166 basic_string<_CharT, _Traits, _Allocator>&
3167 basic_string<_CharT, _Traits, _Allocator>::replace(size_type __pos1, size_type __n1, const basic_st…
3172 template <class _CharT, class _Traits, class _Allocator>
3174 basic_string<_CharT, _Traits, _Allocator>&
3175 basic_string<_CharT, _Traits, _Allocator>::replace(size_type __pos1, size_type __n1, const basic_st…
3184 template <class _CharT, class _Traits, class _Allocator>
3189 …n_be_converted_to_string_view<_CharT, _Traits, _Tp>::value && !__is_same_uncvref<_Tp, basic_string…
3190 basic_string<_CharT, _Traits, _Allocator>&
3192 basic_string<_CharT, _Traits, _Allocator>::replace(size_type __pos1, size_type __n1, const _Tp& __t,
3202 template <class _CharT, class _Traits, class _Allocator>
3204 basic_string<_CharT, _Traits, _Allocator>&
3205 basic_string<_CharT, _Traits, _Allocator>::replace(size_type __pos, size_type __n1, const value_typ…
3211 template <class _CharT, class _Traits, class _Allocator>
3213 basic_string<_CharT, _Traits, _Allocator>&
3214 basic_string<_CharT, _Traits, _Allocator>::replace(const_iterator __i1, const_iterator __i2, const …
3220 template <class _CharT, class _Traits, class _Allocator>
3222 basic_string<_CharT, _Traits, _Allocator>&
3223 basic_string<_CharT, _Traits, _Allocator>::replace(const_iterator __i1, const_iterator __i2, const …
3228 template <class _CharT, class _Traits, class _Allocator>
3230 basic_string<_CharT, _Traits, _Allocator>&
3231 basic_string<_CharT, _Traits, _Allocator>::replace(const_iterator __i1, const_iterator __i2, const …
3236 template <class _CharT, class _Traits, class _Allocator>
3238 basic_string<_CharT, _Traits, _Allocator>&
3239 basic_string<_CharT, _Traits, _Allocator>::replace(const_iterator __i1, const_iterator __i2, size_t…
3248 template <class _CharT, class _Traits, class _Allocator>
3251 basic_string<_CharT, _Traits, _Allocator>::__erase_external_with_move(
3266 template <class _CharT, class _Traits, class _Allocator>
3268 basic_string<_CharT, _Traits, _Allocator>&
3269 basic_string<_CharT, _Traits, _Allocator>::erase(size_type __pos,
3281 template <class _CharT, class _Traits, class _Allocator>
3283 typename basic_string<_CharT, _Traits, _Allocator>::iterator
3284 basic_string<_CharT, _Traits, _Allocator>::erase(const_iterator __pos)
3297 template <class _CharT, class _Traits, class _Allocator>
3299 typename basic_string<_CharT, _Traits, _Allocator>::iterator
3300 basic_string<_CharT, _Traits, _Allocator>::erase(const_iterator __first, const_iterator __last)
3313 template <class _CharT, class _Traits, class _Allocator>
3316 basic_string<_CharT, _Traits, _Allocator>::pop_back()
3322 template <class _CharT, class _Traits, class _Allocator>
3325 basic_string<_CharT, _Traits, _Allocator>::clear() _NOEXCEPT
3340 template <class _CharT, class _Traits, class _Allocator>
3343 basic_string<_CharT, _Traits, _Allocator>::__erase_to_end(size_type __pos)
3348 template <class _CharT, class _Traits, class _Allocator>
3351 basic_string<_CharT, _Traits, _Allocator>::resize(size_type __n, value_type __c)
3360 template <class _CharT, class _Traits, class _Allocator>
3362 basic_string<_CharT, _Traits, _Allocator>::__resize_default_init(size_type __n)
3371 template <class _CharT, class _Traits, class _Allocator>
3373 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3374 basic_string<_CharT, _Traits, _Allocator>::max_size() const _NOEXCEPT
3385 template <class _CharT, class _Traits, class _Allocator>
3388 basic_string<_CharT, _Traits, _Allocator>::reserve(size_type __requested_capacity)
3406 template <class _CharT, class _Traits, class _Allocator>
3409 basic_string<_CharT, _Traits, _Allocator>::shrink_to_fit() _NOEXCEPT
3417 template <class _CharT, class _Traits, class _Allocator>
3420 basic_string<_CharT, _Traits, _Allocator>::__shrink_or_extend(size_type __target_capacity)
3481 template <class _CharT, class _Traits, class _Allocator>
3483 typename basic_string<_CharT, _Traits, _Allocator>::const_reference
3484 basic_string<_CharT, _Traits, _Allocator>::operator[](size_type __pos) const _NOEXCEPT
3490 template <class _CharT, class _Traits, class _Allocator>
3492 typename basic_string<_CharT, _Traits, _Allocator>::reference
3493 basic_string<_CharT, _Traits, _Allocator>::operator[](size_type __pos) _NOEXCEPT
3499 template <class _CharT, class _Traits, class _Allocator>
3501 typename basic_string<_CharT, _Traits, _Allocator>::const_reference
3502 basic_string<_CharT, _Traits, _Allocator>::at(size_type __n) const
3509 template <class _CharT, class _Traits, class _Allocator>
3511 typename basic_string<_CharT, _Traits, _Allocator>::reference
3512 basic_string<_CharT, _Traits, _Allocator>::at(size_type __n)
3519 template <class _CharT, class _Traits, class _Allocator>
3521 typename basic_string<_CharT, _Traits, _Allocator>::reference
3522 basic_string<_CharT, _Traits, _Allocator>::front() _NOEXCEPT
3528 template <class _CharT, class _Traits, class _Allocator>
3530 typename basic_string<_CharT, _Traits, _Allocator>::const_reference
3531 basic_string<_CharT, _Traits, _Allocator>::front() const _NOEXCEPT
3537 template <class _CharT, class _Traits, class _Allocator>
3539 typename basic_string<_CharT, _Traits, _Allocator>::reference
3540 basic_string<_CharT, _Traits, _Allocator>::back() _NOEXCEPT
3546 template <class _CharT, class _Traits, class _Allocator>
3548 typename basic_string<_CharT, _Traits, _Allocator>::const_reference
3549 basic_string<_CharT, _Traits, _Allocator>::back() const _NOEXCEPT
3555 template <class _CharT, class _Traits, class _Allocator>
3557 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3558 basic_string<_CharT, _Traits, _Allocator>::copy(value_type* __s, size_type __n, size_type __pos) co…
3568 template <class _CharT, class _Traits, class _Allocator>
3570 basic_string<_CharT, _Traits, _Allocator>
3571 basic_string<_CharT, _Traits, _Allocator>::substr(size_type __pos, size_type __n) const
3576 template <class _CharT, class _Traits, class _Allocator>
3579 basic_string<_CharT, _Traits, _Allocator>::swap(basic_string& __str)
3603 template <class _Traits>
3606 typedef typename _Traits::char_type char_type;
3609 {return _Traits::eq(__x, __y);}
3612 template<class _CharT, class _Traits, class _Allocator>
3614 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3615 basic_string<_CharT, _Traits, _Allocator>::find(const value_type* __s,
3624 template<class _CharT, class _Traits, class _Allocator>
3626 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3627 basic_string<_CharT, _Traits, _Allocator>::find(const basic_string& __str,
3634 template<class _CharT, class _Traits, class _Allocator>
3639 __can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value,
3640 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3642 basic_string<_CharT, _Traits, _Allocator>::find(const _Tp &__t,
3650 template<class _CharT, class _Traits, class _Allocator>
3652 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3653 basic_string<_CharT, _Traits, _Allocator>::find(const value_type* __s,
3661 template<class _CharT, class _Traits, class _Allocator>
3663 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3664 basic_string<_CharT, _Traits, _Allocator>::find(value_type __c,
3673 template<class _CharT, class _Traits, class _Allocator>
3675 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3676 basic_string<_CharT, _Traits, _Allocator>::rfind(const value_type* __s,
3685 template<class _CharT, class _Traits, class _Allocator>
3687 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3688 basic_string<_CharT, _Traits, _Allocator>::rfind(const basic_string& __str,
3695 template<class _CharT, class _Traits, class _Allocator>
3700 __can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value,
3701 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3703 basic_string<_CharT, _Traits, _Allocator>::rfind(const _Tp& __t,
3711 template<class _CharT, class _Traits, class _Allocator>
3713 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3714 basic_string<_CharT, _Traits, _Allocator>::rfind(const value_type* __s,
3722 template<class _CharT, class _Traits, class _Allocator>
3724 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3725 basic_string<_CharT, _Traits, _Allocator>::rfind(value_type __c,
3734 template<class _CharT, class _Traits, class _Allocator>
3736 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3737 basic_string<_CharT, _Traits, _Allocator>::find_first_of(const value_type* __s,
3746 template<class _CharT, class _Traits, class _Allocator>
3748 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3749 basic_string<_CharT, _Traits, _Allocator>::find_first_of(const basic_string& __str,
3756 template<class _CharT, class _Traits, class _Allocator>
3761 __can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value,
3762 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3764 basic_string<_CharT, _Traits, _Allocator>::find_first_of(const _Tp& __t,
3772 template<class _CharT, class _Traits, class _Allocator>
3774 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3775 basic_string<_CharT, _Traits, _Allocator>::find_first_of(const value_type* __s,
3783 template<class _CharT, class _Traits, class _Allocator>
3785 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3786 basic_string<_CharT, _Traits, _Allocator>::find_first_of(value_type __c,
3794 template<class _CharT, class _Traits, class _Allocator>
3796 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3797 basic_string<_CharT, _Traits, _Allocator>::find_last_of(const value_type* __s,
3806 template<class _CharT, class _Traits, class _Allocator>
3808 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3809 basic_string<_CharT, _Traits, _Allocator>::find_last_of(const basic_string& __str,
3816 template<class _CharT, class _Traits, class _Allocator>
3821 __can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value,
3822 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3824 basic_string<_CharT, _Traits, _Allocator>::find_last_of(const _Tp& __t,
3832 template<class _CharT, class _Traits, class _Allocator>
3834 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3835 basic_string<_CharT, _Traits, _Allocator>::find_last_of(const value_type* __s,
3843 template<class _CharT, class _Traits, class _Allocator>
3845 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3846 basic_string<_CharT, _Traits, _Allocator>::find_last_of(value_type __c,
3854 template<class _CharT, class _Traits, class _Allocator>
3856 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3857 basic_string<_CharT, _Traits, _Allocator>::find_first_not_of(const value_type* __s,
3866 template<class _CharT, class _Traits, class _Allocator>
3868 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3869 basic_string<_CharT, _Traits, _Allocator>::find_first_not_of(const basic_string& __str,
3876 template<class _CharT, class _Traits, class _Allocator>
3881 __can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value,
3882 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3884 basic_string<_CharT, _Traits, _Allocator>::find_first_not_of(const _Tp& __t,
3892 template<class _CharT, class _Traits, class _Allocator>
3894 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3895 basic_string<_CharT, _Traits, _Allocator>::find_first_not_of(const value_type* __s,
3903 template<class _CharT, class _Traits, class _Allocator>
3905 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3906 basic_string<_CharT, _Traits, _Allocator>::find_first_not_of(value_type __c,
3915 template<class _CharT, class _Traits, class _Allocator>
3917 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3918 basic_string<_CharT, _Traits, _Allocator>::find_last_not_of(const value_type* __s,
3927 template<class _CharT, class _Traits, class _Allocator>
3929 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3930 basic_string<_CharT, _Traits, _Allocator>::find_last_not_of(const basic_string& __str,
3937 template<class _CharT, class _Traits, class _Allocator>
3942 __can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value,
3943 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3945 basic_string<_CharT, _Traits, _Allocator>::find_last_not_of(const _Tp& __t,
3953 template<class _CharT, class _Traits, class _Allocator>
3955 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3956 basic_string<_CharT, _Traits, _Allocator>::find_last_not_of(const value_type* __s,
3964 template<class _CharT, class _Traits, class _Allocator>
3966 typename basic_string<_CharT, _Traits, _Allocator>::size_type
3967 basic_string<_CharT, _Traits, _Allocator>::find_last_not_of(value_type __c,
3976 template <class _CharT, class _Traits, class _Allocator>
3981 __can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value,
3984 basic_string<_CharT, _Traits, _Allocator>::compare(const _Tp& __t) const _NOEXCEPT
4000 template <class _CharT, class _Traits, class _Allocator>
4003 basic_string<_CharT, _Traits, _Allocator>::compare(const basic_string& __str) const _NOEXCEPT
4008 template <class _CharT, class _Traits, class _Allocator>
4011 basic_string<_CharT, _Traits, _Allocator>::compare(size_type __pos1,
4032 template <class _CharT, class _Traits, class _Allocator>
4037 __can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value,
4040 basic_string<_CharT, _Traits, _Allocator>::compare(size_type __pos1,
4048 template <class _CharT, class _Traits, class _Allocator>
4051 basic_string<_CharT, _Traits, _Allocator>::compare(size_type __pos1,
4058 template <class _CharT, class _Traits, class _Allocator>
4063 __can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value
4064 && !__is_same_uncvref<_Tp, basic_string<_CharT, _Traits, _Allocator> >::value,
4067 basic_string<_CharT, _Traits, _Allocator>::compare(size_type __pos1,
4077 template <class _CharT, class _Traits, class _Allocator>
4080 basic_string<_CharT, _Traits, _Allocator>::compare(size_type __pos1,
4089 template <class _CharT, class _Traits, class _Allocator>
4092 basic_string<_CharT, _Traits, _Allocator>::compare(const value_type* __s) const _NOEXCEPT
4098 template <class _CharT, class _Traits, class _Allocator>
4101 basic_string<_CharT, _Traits, _Allocator>::compare(size_type __pos1,
4111 template<class _CharT, class _Traits, class _Allocator>
4114 basic_string<_CharT, _Traits, _Allocator>::__invariants() const
4129 template<class _CharT, class _Traits, class _Allocator>
4132 basic_string<_CharT, _Traits, _Allocator>::__clear_and_shrink() _NOEXCEPT
4146 template<class _CharT, class _Traits, class _Allocator>
4149 operator==(const basic_string<_CharT, _Traits, _Allocator>& __lhs,
4150 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
4153 return __lhs_sz == __rhs.size() && _Traits::compare(__lhs.data(),
4177 template<class _CharT, class _Traits, class _Allocator>
4181 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
4183 typedef basic_string<_CharT, _Traits, _Allocator> _String;
4185 size_t __lhs_len = _Traits::length(__lhs);
4190 template<class _CharT, class _Traits, class _Allocator>
4193 operator==(const basic_string<_CharT,_Traits,_Allocator>& __lhs,
4196 typedef basic_string<_CharT, _Traits, _Allocator> _String;
4198 size_t __rhs_len = _Traits::length(__rhs);
4203 template<class _CharT, class _Traits, class _Allocator>
4206 operator!=(const basic_string<_CharT,_Traits,_Allocator>& __lhs,
4207 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
4212 template<class _CharT, class _Traits, class _Allocator>
4216 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
4221 template<class _CharT, class _Traits, class _Allocator>
4224 operator!=(const basic_string<_CharT, _Traits, _Allocator>& __lhs,
4232 template<class _CharT, class _Traits, class _Allocator>
4235 operator< (const basic_string<_CharT, _Traits, _Allocator>& __lhs,
4236 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
4241 template<class _CharT, class _Traits, class _Allocator>
4244 operator< (const basic_string<_CharT, _Traits, _Allocator>& __lhs,
4250 template<class _CharT, class _Traits, class _Allocator>
4254 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
4261 template<class _CharT, class _Traits, class _Allocator>
4264 operator> (const basic_string<_CharT, _Traits, _Allocator>& __lhs,
4265 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
4270 template<class _CharT, class _Traits, class _Allocator>
4273 operator> (const basic_string<_CharT, _Traits, _Allocator>& __lhs,
4279 template<class _CharT, class _Traits, class _Allocator>
4283 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
4290 template<class _CharT, class _Traits, class _Allocator>
4293 operator<=(const basic_string<_CharT, _Traits, _Allocator>& __lhs,
4294 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
4299 template<class _CharT, class _Traits, class _Allocator>
4302 operator<=(const basic_string<_CharT, _Traits, _Allocator>& __lhs,
4308 template<class _CharT, class _Traits, class _Allocator>
4312 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
4319 template<class _CharT, class _Traits, class _Allocator>
4322 operator>=(const basic_string<_CharT, _Traits, _Allocator>& __lhs,
4323 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
4328 template<class _CharT, class _Traits, class _Allocator>
4331 operator>=(const basic_string<_CharT, _Traits, _Allocator>& __lhs,
4337 template<class _CharT, class _Traits, class _Allocator>
4341 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
4348 template<class _CharT, class _Traits, class _Allocator>
4350 basic_string<_CharT, _Traits, _Allocator>
4351 operator+(const basic_string<_CharT, _Traits, _Allocator>& __lhs,
4352 const basic_string<_CharT, _Traits, _Allocator>& __rhs)
4354 using _String = basic_string<_CharT, _Traits, _Allocator>;
4361 _Traits::copy(__ptr, __lhs.data(), __lhs_sz);
4362 _Traits::copy(__ptr + __lhs_sz, __rhs.data(), __rhs_sz);
4363 _Traits::assign(__ptr + __lhs_sz + __rhs_sz, 1, _CharT());
4367 template<class _CharT, class _Traits, class _Allocator>
4369 basic_string<_CharT, _Traits, _Allocator>
4370 operator+(const _CharT* __lhs , const basic_string<_CharT,_Traits,_Allocator>& __rhs)
4372 using _String = basic_string<_CharT, _Traits, _Allocator>;
4373 auto __lhs_sz = _Traits::length(__lhs);
4379 _Traits::copy(__ptr, __lhs, __lhs_sz);
4380 _Traits::copy(__ptr + __lhs_sz, __rhs.data(), __rhs_sz);
4381 _Traits::assign(__ptr + __lhs_sz + __rhs_sz, 1, _CharT());
4385 template<class _CharT, class _Traits, class _Allocator>
4387 basic_string<_CharT, _Traits, _Allocator>
4388 operator+(_CharT __lhs, const basic_string<_CharT,_Traits,_Allocator>& __rhs)
4390 using _String = basic_string<_CharT, _Traits, _Allocator>;
4396 _Traits::assign(__ptr, 1, __lhs);
4397 _Traits::copy(__ptr + 1, __rhs.data(), __rhs_sz);
4398 _Traits::assign(__ptr + 1 + __rhs_sz, 1, _CharT());
4402 template<class _CharT, class _Traits, class _Allocator>
4404 basic_string<_CharT, _Traits, _Allocator>
4405 operator+(const basic_string<_CharT, _Traits, _Allocator>& __lhs, const _CharT* __rhs)
4407 using _String = basic_string<_CharT, _Traits, _Allocator>;
4409 typename _String::size_type __rhs_sz = _Traits::length(__rhs);
4414 _Traits::copy(__ptr, __lhs.data(), __lhs_sz);
4415 _Traits::copy(__ptr + __lhs_sz, __rhs, __rhs_sz);
4416 _Traits::assign(__ptr + __lhs_sz + __rhs_sz, 1, _CharT());
4420 template<class _CharT, class _Traits, class _Allocator>
4422 basic_string<_CharT, _Traits, _Allocator>
4423 operator+(const basic_string<_CharT, _Traits, _Allocator>& __lhs, _CharT __rhs)
4425 using _String = basic_string<_CharT, _Traits, _Allocator>;
4431 _Traits::copy(__ptr, __lhs.data(), __lhs_sz);
4432 _Traits::assign(__ptr + __lhs_sz, 1, __rhs);
4433 _Traits::assign(__ptr + 1 + __lhs_sz, 1, _CharT());
4439 template<class _CharT, class _Traits, class _Allocator>
4441 basic_string<_CharT, _Traits, _Allocator>
4442 operator+(basic_string<_CharT, _Traits, _Allocator>&& __lhs, const basic_string<_CharT, _Traits, _A…
4447 template<class _CharT, class _Traits, class _Allocator>
4449 basic_string<_CharT, _Traits, _Allocator>
4450 operator+(const basic_string<_CharT, _Traits, _Allocator>& __lhs, basic_string<_CharT, _Traits, _Al…
4455 template<class _CharT, class _Traits, class _Allocator>
4457 basic_string<_CharT, _Traits, _Allocator>
4458 operator+(basic_string<_CharT, _Traits, _Allocator>&& __lhs, basic_string<_CharT, _Traits, _Allocat…
4463 template<class _CharT, class _Traits, class _Allocator>
4465 basic_string<_CharT, _Traits, _Allocator>
4466 operator+(const _CharT* __lhs , basic_string<_CharT,_Traits,_Allocator>&& __rhs)
4471 template<class _CharT, class _Traits, class _Allocator>
4473 basic_string<_CharT, _Traits, _Allocator>
4474 operator+(_CharT __lhs, basic_string<_CharT,_Traits,_Allocator>&& __rhs)
4480 template<class _CharT, class _Traits, class _Allocator>
4482 basic_string<_CharT, _Traits, _Allocator>
4483 operator+(basic_string<_CharT, _Traits, _Allocator>&& __lhs, const _CharT* __rhs)
4488 template<class _CharT, class _Traits, class _Allocator>
4490 basic_string<_CharT, _Traits, _Allocator>
4491 operator+(basic_string<_CharT, _Traits, _Allocator>&& __lhs, _CharT __rhs)
4501 template<class _CharT, class _Traits, class _Allocator>
4504 swap(basic_string<_CharT, _Traits, _Allocator>& __lhs,
4505 basic_string<_CharT, _Traits, _Allocator>& __rhs)
4553 template<class _CharT, class _Traits, class _Allocator>
4555 const typename basic_string<_CharT, _Traits, _Allocator>::size_type
4556 basic_string<_CharT, _Traits, _Allocator>::npos;
4568 template<class _CharT, class _Traits, class _Allocator>
4569 basic_ostream<_CharT, _Traits>&
4570 operator<<(basic_ostream<_CharT, _Traits>& __os,
4571 const basic_string<_CharT, _Traits, _Allocator>& __str);
4573 template<class _CharT, class _Traits, class _Allocator>
4574 basic_istream<_CharT, _Traits>&
4575 operator>>(basic_istream<_CharT, _Traits>& __is,
4576 basic_string<_CharT, _Traits, _Allocator>& __str);
4578 template<class _CharT, class _Traits, class _Allocator>
4579 basic_istream<_CharT, _Traits>&
4580 getline(basic_istream<_CharT, _Traits>& __is,
4581 basic_string<_CharT, _Traits, _Allocator>& __str, _CharT __dlm);
4583 template<class _CharT, class _Traits, class _Allocator>
4585 basic_istream<_CharT, _Traits>&
4586 getline(basic_istream<_CharT, _Traits>& __is,
4587 basic_string<_CharT, _Traits, _Allocator>& __str);
4589 template<class _CharT, class _Traits, class _Allocator>
4591 basic_istream<_CharT, _Traits>&
4592 getline(basic_istream<_CharT, _Traits>&& __is,
4593 basic_string<_CharT, _Traits, _Allocator>& __str, _CharT __dlm);
4595 template<class _CharT, class _Traits, class _Allocator>
4597 basic_istream<_CharT, _Traits>&
4598 getline(basic_istream<_CharT, _Traits>&& __is,
4599 basic_string<_CharT, _Traits, _Allocator>& __str);
4602 template <class _CharT, class _Traits, class _Allocator, class _Up>
4604 typename basic_string<_CharT, _Traits, _Allocator>::size_type
4605 erase(basic_string<_CharT, _Traits, _Allocator>& __str, const _Up& __v) {
4611 template <class _CharT, class _Traits, class _Allocator, class _Predicate>
4613 typename basic_string<_CharT, _Traits, _Allocator>::size_type
4614 erase_if(basic_string<_CharT, _Traits, _Allocator>& __str,
4625 template<class _CharT, class _Traits, class _Allocator>
4627 basic_string<_CharT, _Traits, _Allocator>::__dereferenceable(const const_iterator* __i) const
4633 template<class _CharT, class _Traits, class _Allocator>
4635 basic_string<_CharT, _Traits, _Allocator>::__decrementable(const const_iterator* __i) const
4641 template<class _CharT, class _Traits, class _Allocator>
4643 basic_string<_CharT, _Traits, _Allocator>::__addable(const const_iterator* __i, ptrdiff_t __n) const
4649 template<class _CharT, class _Traits, class _Allocator>
4651 basic_string<_CharT, _Traits, _Allocator>::__subscriptable(const const_iterator* __i, ptrdiff_t __n…