Return the result of comparing to another string

Synopsis

Declared in header </boost/url/grammar/string_view_base.hpp#L386[boost/url/grammar/string_view_base.hpp,window=blank_]>

constexpr
int
compare(const char* s) const noexcept;

Description

See core::string_view::compare

Return Value

  • int

Parameters

Name Type

s

``