boost::urls::decode_view::ends_with

Checks if the string ends with the given prefix

Synopses

Declared in <boost/url/decode_view.hpp>

Checks if the string ends with the given prefix

bool
ends_with(char ch) const noexcept;
» more...

Checks if the string ends with the given prefix

bool
ends_with(core::string_view s) const noexcept;
» more...

Return Value

  • true if the decoded string ends with ch
  • true if the decoded string ends with s

Parameters

NameDescription
chThe character to search for
sThe string to search for