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( decode_view( "Program%20Files" ).ends_with( "Files" ) );
Complexity

Linear.

Exception Safety

Throws nothing.


PrevUpHomeNext