Lines Matching refs:traits

76 template<class charT, class traits = char_traits<charT>, class Allocator = allocator<charT> >
81 typedef traits traits_type;
123 operator basic_string_view<charT, traits>() const noexcept;
323 bool starts_with(basic_string_view<charT, traits> sv) const noexcept; // C++20
326 bool ends_with(basic_string_view<charT, traits> sv) const noexcept; // C++20
330 constexpr bool contains(basic_string_view<charT, traits> sv) const noexcept; // C++2b
344 template<class charT, class traits, class Allocator>
345 basic_string<charT, traits, Allocator>
346 operator+(const basic_string<charT, traits, Allocator>& lhs,
347 const basic_string<charT, traits, Allocator>& rhs);
349 template<class charT, class traits, class Allocator>
350 basic_string<charT, traits, Allocator>
351 operator+(const charT* lhs , const basic_string<charT,traits,Allocator>&rhs);
353 template<class charT, class traits, class Allocator>
354 basic_string<charT, traits, Allocator>
355 operator+(charT lhs, const basic_string<charT,traits,Allocator>& rhs);
357 template<class charT, class traits, class Allocator>
358 basic_string<charT, traits, Allocator>
359 operator+(const basic_string<charT, traits, Allocator>& lhs, const charT* rhs);
361 template<class charT, class traits, class Allocator>
362 basic_string<charT, traits, Allocator>
363 operator+(const basic_string<charT, traits, Allocator>& lhs, charT rhs);
365 template<class charT, class traits, class Allocator>
366 bool operator==(const basic_string<charT, traits, Allocator>& lhs,
367 const basic_string<charT, traits, Allocator>& rhs) noexcept;
369 template<class charT, class traits, class Allocator>
370 bool operator==(const charT* lhs, const basic_string<charT, traits, Allocator>& rhs) noexcept;
372 template<class charT, class traits, class Allocator>
373 bool operator==(const basic_string<charT,traits,Allocator>& lhs, const charT* rhs) noexcept;
375 template<class charT, class traits, class Allocator>
376 bool operator!=(const basic_string<charT,traits,Allocator>& lhs,
377 const basic_string<charT, traits, Allocator>& rhs) noexcept;
379 template<class charT, class traits, class Allocator>
380 bool operator!=(const charT* lhs, const basic_string<charT, traits, Allocator>& rhs) noexcept;
382 template<class charT, class traits, class Allocator>
383 bool operator!=(const basic_string<charT, traits, Allocator>& lhs, const charT* rhs) noexcept;
385 template<class charT, class traits, class Allocator>
386 bool operator< (const basic_string<charT, traits, Allocator>& lhs,
387 const basic_string<charT, traits, Allocator>& rhs) noexcept;
389 template<class charT, class traits, class Allocator>
390 bool operator< (const basic_string<charT, traits, Allocator>& lhs, const charT* rhs) noexcept;
392 template<class charT, class traits, class Allocator>
393 bool operator< (const charT* lhs, const basic_string<charT, traits, Allocator>& rhs) noexcept;
395 template<class charT, class traits, class Allocator>
396 bool operator> (const basic_string<charT, traits, Allocator>& lhs,
397 const basic_string<charT, traits, Allocator>& rhs) noexcept;
399 template<class charT, class traits, class Allocator>
400 bool operator> (const basic_string<charT, traits, Allocator>& lhs, const charT* rhs) noexcept;
402 template<class charT, class traits, class Allocator>
403 bool operator> (const charT* lhs, const basic_string<charT, traits, Allocator>& rhs) noexcept;
405 template<class charT, class traits, class Allocator>
406 bool operator<=(const basic_string<charT, traits, Allocator>& lhs,
407 const basic_string<charT, traits, Allocator>& rhs) noexcept;
409 template<class charT, class traits, class Allocator>
410 bool operator<=(const basic_string<charT, traits, Allocator>& lhs, const charT* rhs) noexcept;
412 template<class charT, class traits, class Allocator>
413 bool operator<=(const charT* lhs, const basic_string<charT, traits, Allocator>& rhs) noexcept;
415 template<class charT, class traits, class Allocator>
416 bool operator>=(const basic_string<charT, traits, Allocator>& lhs,
417 const basic_string<charT, traits, Allocator>& rhs) noexcept;
419 template<class charT, class traits, class Allocator>
420 bool operator>=(const basic_string<charT, traits, Allocator>& lhs, const charT* rhs) noexcept;
422 template<class charT, class traits, class Allocator>
423 bool operator>=(const charT* lhs, const basic_string<charT, traits, Allocator>& rhs) noexcept;
425 template<class charT, class traits, class Allocator>
426 void swap(basic_string<charT, traits, Allocator>& lhs,
427 basic_string<charT, traits, Allocator>& rhs)
430 template<class charT, class traits, class Allocator>
431 basic_istream<charT, traits>&
432 operator>>(basic_istream<charT, traits>& is, basic_string<charT, traits, Allocator>& str);
434 template<class charT, class traits, class Allocator>
435 basic_ostream<charT, traits>&
436 operator<<(basic_ostream<charT, traits>& os, const basic_string<charT, traits, Allocator>& str);
438 template<class charT, class traits, class Allocator>
439 basic_istream<charT, traits>&
440 getline(basic_istream<charT, traits>& is, basic_string<charT, traits, Allocator>& str,
443 template<class charT, class traits, class Allocator>
444 basic_istream<charT, traits>&
445 getline(basic_istream<charT, traits>& is, basic_string<charT, traits, Allocator>& str);
447 template<class charT, class traits, class Allocator, class U>
448 typename basic_string<charT, traits, Allocator>::size_type
449 erase(basic_string<charT, traits, Allocator>& c, const U& value); // C++20
450 template<class charT, class traits, class Allocator, class Predicate>
451 typename basic_string<charT, traits, Allocator>::size_type
452 erase_if(basic_string<charT, traits, Allocator>& c, Predicate pred); // C++20