...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 string.
template< typename T> constexpr bool ends_with( T const& t) const;
Returns true
if the string
ends with s
, and false
otherwise.
Linear.
Name |
Description |
---|---|
|
The string view to check for. |