cpp/string/basic string/ends with

Checks if the string ends with the given suffix. The suffix may be one of the following:

@1@ A string view (which may be a result of implicit conversion from another ). @2@ A single character. @3@ A null-terminated character string.

All three overloads effectively return, where is the parameter.

Return value
if the string ends with the provided suffix, otherwise.