...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Return whether the string ends with a character.
constexpr bool ends_with( value_type c) const;
Returns true
if the string
ends with c
, and false
otherwise.
Constant.
Name |
Description |
---|---|
|
The character to check for. |