boost::urls::grammar::string_view_base::starts_with

Return true if a matching prefix exists

Synopses

Declared in <boost/url/grammar/string_view_base.hpp>
Return true if a matching prefix exists
constexpr
bool
starts_with(core::string_view x) const noexcept;


» more... Return true if a matching prefix exists
constexpr
bool
starts_with(char x) const noexcept;


» more... Return true if a matching prefix exists
constexpr
bool
starts_with(char const* x) const noexcept;


» more...

Return Value

true if the prefix matches

Parameters

Name Description
x The string to search for

Created with MrDocs