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

This is the documentation for a snapshot of the develop branch, built from commit e60898da42.
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