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 9c6ce102b5.
PrevUpHomeNext
basic_static_string::ends_with (3 of 3 overloads)

Return whether the string ends with a string.

Synopsis
constexpr bool
ends_with(
    const_pointer s) const;
Description

Returns true if the string ends with the string pointed to be s of length traits_type::length(s), and false otherwise.

Complexity

Linear.

Parameters

Name

Description

s

The string to check for.


PrevUpHomeNext