Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
basic_static_string::ends_with (2 of 3 overloads)

Return whether the string ends with a character.

Synopsis
constexpr bool
ends_with(
    value_type c) const;
Description

Returns true if the string ends with c, and false otherwise.

Complexity

Constant.

Parameters

Name

Description

c

The character to check for.


PrevUpHomeNext