Return the result of comparing to another string

Synopsis

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

constexpr
int
compare(string_view str) const noexcept;

Description

See core::string_view::compare

Return Value

  • int

Parameters

Name Type

str

string_view