boost::urls::grammar::string_view_base::contains

Return true if matching characters are found

Synopses

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

Return true if matching characters are found

constexpr
bool
contains(char c) const noexcept;
» more...

Return true if matching characters are found

constexpr
bool
contains(core::string_view sv) const noexcept;
» more...

Return true if matching characters are found

constexpr
bool
contains(char const* s) const noexcept;
» more...

Return Value

  • true if the string contains the character, otherwise false
  • true if the string contains the characters, otherwise false

Parameters

NameDescription
cThe character to search for
svThe string to search for
sThe string to search for