bsl::basic_string<char16_t>::ends_with

Return true if the length of this string is equal to or greater than the length of the specified characterString and the last CHAR_TRAITS::length(characterString) characters of this string are equal to the characters of the characterString, and false otherwise. CHAR_TRAITS::compare is used to compare characters. See {Lexicographical Comparisons}.

Synopsis

Declared in <bslstl_string.h>

bool
ends_with(char16_t const* characterString) const;