std::basic_string<CharT,Traits,Allocator>:: ends_with - Reference

en.cppreference.com/w/cpp/string/basic_string/ends_with     2023-08-17T00:00:00.0000000
< cpp‎ | string‎ | basic string ... Checks if the string ends with the given suffix. The suffix may be one of the following: 1) A string view sv (which may be a result of implicit conversion from another std::basic_string). 2) A single character ch. 3) A null-terminated character string s.

std::basic_string - cppreference.com

en.cppreference.com/w/cpp/string/basic_string     2024-11-10T00:00:00.0000000
The class template basic_string stores and manipulates sequences of character-like objects, which are non-array objects of TrivialType and StandardLayoutType.The class is dependent neither on the character type nor on the nature of operations on that type. The definitions of the operations are supplied via the Traits template parameter - a specialization of std::char_traits or a compatible ...

std::basic_string_view<CharT,Traits>:: ends_with - Reference

en.cppreference.com/w/cpp/string/basic_string_view/ends_with     2023-08-17T00:00:00.0000000
checks if the string starts with the given prefix (public member function of std::basic_string<CharT,Traits,Allocator>)

std::basic_string<CharT,Traits,Allocator>:: end, std::basic_string ...

en.cppreference.com/w/cpp/string/basic_string/end     2024-06-22T00:00:00.0000000
Returns an iterator to the character following the last character of the string. This character acts as a placeholder, attempting to access it results in undefined behavior.

std::basic_string_view<CharT,Traits>::end, std::basic ... - Reference

en.cppreference.com/w/cpp/string/basic_string_view/end     2023-06-14T00:00:00.0000000
Returns an iterator to the character following the last character of the view. This character acts as a placeholder, attempting to access it results in undefined behavior.

std::basic_string<CharT,Traits,Allocator>:: starts_with - Reference

en.cppreference.com/w/cpp/string/basic_string/starts_with     2023-08-17T00:00:00.0000000
1) A string view sv (which may be a result of implicit conversion from another std::basic_string). 2) A single character ch . 3) A null-terminated character string s .

std::basic_string_view - cppreference.com

en.cppreference.com/w/cpp/string/basic_string_view     2024-07-12T00:00:00.0000000
The class template basic_string_view describes an object that can refer to a constant contiguous sequence of CharT with the first element of the sequence at position zero.. For a basic_string_view str, pointers, iterators, and references to elements of str are invalidated when an operation invalidates a pointer in the range [str. data (), str. data + str. size ()).

std::basic_string<CharT,Traits,Allocator>:: basic_string - Reference

en.cppreference.com/w/cpp/string/basic_string/basic_string     2024-12-11T00:00:00.0000000
10) Implicitly converts t to a string view sv as if by std:: basic_string_view < CharT, Traits > sv = t;, then constructs a string as if by basic_string (sv. substr (pos, n), alloc). This overload participates in overload resolution only if std:: is_convertible_v < const StringViewLike & ,

std::basic_string<CharT,Traits,Allocator>:: find_last_of - Reference

en.cppreference.com/w/cpp/string/basic_string/find_last_of     2024-05-30T00:00:00.0000000
5) Implicitly converts t to a string view sv as if by std:: basic_string_view < CharT, Traits > sv = t;, then finds the last character equal to one of characters in sv. This overload participates in overload resolution only if std:: is_convertible_v < const StringViewLike & ,

std::basic_string_view<CharT,Traits>:: starts_with - Reference

en.cppreference.com/w/cpp/string/basic_string_view/starts_with.html
checks if the string ends with the given suffix (public member function of std::basic_string<CharT,Traits,Allocator>)
Feedback