Lines Matching refs:traits
83 template<class charT, class traits = char_traits<charT>, class Allocator = allocator<charT> >
88 typedef traits traits_type;
137 …operator basic_string_view<charT, traits>() const noexcept; // con…
350 …constexpr bool starts_with(basic_string_view<charT, traits> sv) const noexcept; // C++…
353 …constexpr bool ends_with(basic_string_view<charT, traits> sv) const noexcept; // C++…
357 …constexpr bool contains(basic_string_view<charT, traits> sv) const noexcept; // C++…
376 class traits,
378 explicit basic_string(basic_string_view<charT, traits>, const Allocator& = Allocator())
379 -> basic_string<charT, traits, Allocator>; // C++17
382 class traits,
384 basic_string(basic_string_view<charT, traits>,
387 -> basic_string<charT, traits, Allocator>; // C++17
389 template<class charT, class traits, class Allocator>
390 basic_string<charT, traits, Allocator>
391 operator+(const basic_string<charT, traits, Allocator>& lhs,
392 …const basic_string<charT, traits, Allocator>& rhs); // constexpr…
394 template<class charT, class traits, class Allocator>
395 basic_string<charT, traits, Allocator>
396 operator+(const charT* lhs , const basic_string<charT,traits,Allocator>&rhs); // …
398 template<class charT, class traits, class Allocator>
399 basic_string<charT, traits, Allocator>
400 operator+(charT lhs, const basic_string<charT,traits,Allocator>& rhs); // …
402 template<class charT, class traits, class Allocator>
403 basic_string<charT, traits, Allocator>
404 operator+(const basic_string<charT, traits, Allocator>& lhs, const charT* rhs); // …
406 template<class charT, class traits, class Allocator>
407 basic_string<charT, traits, Allocator>
408 operator+(const basic_string<charT, traits, Allocator>& lhs, charT rhs); // …
410 template<class charT, class traits, class Allocator>
411 bool operator==(const basic_string<charT, traits, Allocator>& lhs,
412 …const basic_string<charT, traits, Allocator>& rhs) noexcept; // constexpr since…
414 template<class charT, class traits, class Allocator>
415 bool operator==(const charT* lhs, const basic_string<charT, traits, Allocator>& rhs) noexcept; // …
417 template<class charT, class traits, class Allocator>
418 bool operator==(const basic_string<charT,traits,Allocator>& lhs, const charT* rhs) noexcept; // …
420 template<class charT, class traits, class Allocator>
421 bool operator!=(const basic_string<charT,traits,Allocator>& lhs,
422 …const basic_string<charT, traits, Allocator>& rhs) noexcept; // removed in C++20
424 template<class charT, class traits, class Allocator>
425 bool operator!=(const charT* lhs, const basic_string<charT, traits, Allocator>& rhs) noexcept; // …
427 template<class charT, class traits, class Allocator>
428 bool operator!=(const basic_string<charT, traits, Allocator>& lhs, const charT* rhs) noexcept; // …
430 template<class charT, class traits, class Allocator>
431 bool operator< (const basic_string<charT, traits, Allocator>& lhs,
432 …const basic_string<charT, traits, Allocator>& rhs) noexcept; // removed in C++20
434 template<class charT, class traits, class Allocator>
435 bool operator< (const basic_string<charT, traits, Allocator>& lhs, const charT* rhs) noexcept; // …
437 template<class charT, class traits, class Allocator>
438 bool operator< (const charT* lhs, const basic_string<charT, traits, Allocator>& rhs) noexcept; // …
440 template<class charT, class traits, class Allocator>
441 bool operator> (const basic_string<charT, traits, Allocator>& lhs,
442 …const basic_string<charT, traits, Allocator>& rhs) noexcept; // removed in C++20
444 template<class charT, class traits, class Allocator>
445 bool operator> (const basic_string<charT, traits, Allocator>& lhs, const charT* rhs) noexcept; // …
447 template<class charT, class traits, class Allocator>
448 bool operator> (const charT* lhs, const basic_string<charT, traits, Allocator>& rhs) noexcept; // …
450 template<class charT, class traits, class Allocator>
451 bool operator<=(const basic_string<charT, traits, Allocator>& lhs,
452 …const basic_string<charT, traits, Allocator>& rhs) noexcept; // removed in C++20
454 template<class charT, class traits, class Allocator>
455 bool operator<=(const basic_string<charT, traits, Allocator>& lhs, const charT* rhs) noexcept; // …
457 template<class charT, class traits, class Allocator>
458 bool operator<=(const charT* lhs, const basic_string<charT, traits, Allocator>& rhs) noexcept; // …
460 template<class charT, class traits, class Allocator>
461 bool operator>=(const basic_string<charT, traits, Allocator>& lhs,
462 …const basic_string<charT, traits, Allocator>& rhs) noexcept; // removed in C++20
464 template<class charT, class traits, class Allocator>
465 bool operator>=(const basic_string<charT, traits, Allocator>& lhs, const charT* rhs) noexcept; // …
467 template<class charT, class traits, class Allocator>
468 bool operator>=(const charT* lhs, const basic_string<charT, traits, Allocator>& rhs) noexcept; // …
470 template<class charT, class traits, class Allocator> // …
471 constexpr see below operator<=>(const basic_string<charT, traits, Allocator>& lhs,
472 const basic_string<charT, traits, Allocator>& rhs) noexcept;
474 template<class charT, class traits, class Allocator> // …
475 constexpr see below operator<=>(const basic_string<charT, traits, Allocator>& lhs,
478 template<class charT, class traits, class Allocator>
479 void swap(basic_string<charT, traits, Allocator>& lhs,
480 basic_string<charT, traits, Allocator>& rhs)
483 template<class charT, class traits, class Allocator>
484 basic_istream<charT, traits>&
485 operator>>(basic_istream<charT, traits>& is, basic_string<charT, traits, Allocator>& str);
487 template<class charT, class traits, class Allocator>
488 basic_ostream<charT, traits>&
489 operator<<(basic_ostream<charT, traits>& os, const basic_string<charT, traits, Allocator>& str);
491 template<class charT, class traits, class Allocator>
492 basic_istream<charT, traits>&
493 getline(basic_istream<charT, traits>& is, basic_string<charT, traits, Allocator>& str,
496 template<class charT, class traits, class Allocator>
497 basic_istream<charT, traits>&
498 getline(basic_istream<charT, traits>& is, basic_string<charT, traits, Allocator>& str);
500 template<class charT, class traits, class Allocator, class U>
501 typename basic_string<charT, traits, Allocator>::size_type
502 erase(basic_string<charT, traits, Allocator>& c, const U& value); // C++20
503 template<class charT, class traits, class Allocator, class Predicate>
504 typename basic_string<charT, traits, Allocator>::size_type
505 erase_if(basic_string<charT, traits, Allocator>& c, Predicate pred); // C++20