Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
decode_view::ends_with (1 of 2 overloads)

Checks if the string ends with the given prefix.

Synopsis
bool
ends_with(
    core::string_view s) const;
Example
assert( [link url.ref.boost__urls__decode_view.decode_view `decode_view`]( "Program%20Files" ).[link url.ref.boost__urls__decode_view.ends_with `ends_with`]( "Files" ) );
Complexity

Linear.

Exception Safety

Throws nothing.


PrevUpHomeNext