Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

basic_static_string::ends_with (3 of 3 overloads)
PrevUpHomeNext

Return whether the string ends with a character.

Synopsis
constexpr bool
ends_with(
    basic_static_string::value_type c) const noexcept;
Description

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

Complexity

Constant.

Parameters

Name

Description

c

The character to check for.


PrevUpHomeNext