boost::urls::grammar::string_view_base::ends_with :: Boost Libraries Documentation

# boost::urls::grammar::string_view_base::ends_with

Return true if a matching suffix exists

## Synopses

Declared in `<boost/url/grammar/string_view_base.hpp>`

Return true if a matching suffix exists

    constexpr
    bool
    ends_with(core::string_view x) const noexcept;

» more...

Return true if a matching suffix exists

    constexpr
    bool
    ends_with(char x) const noexcept;

» more...

Return true if a matching suffix exists

    constexpr
    bool
    ends_with(char const* x) const noexcept;

» more...

## Return Value

`true` if the suffix matches

## Parameters

Name | Description
--- | ---
x | The string to search for

Created with MrDocs