boost::urls::grammar::string_view_base::compare

Return the result of comparing to another string

Synopsis

constexpr
int
compare(core::string_view str) const noexcept;
constexpr
int
compare(
    size_type pos1,
    size_type n1,
    core::string_view str) const;
constexpr
int
compare(
    size_type pos1,
    size_type n1,
    core::string_view str,
    size_type pos2,
    size_type n2) const;
constexpr
int
compare(char const* s) const noexcept;
constexpr
int
compare(
    size_type pos1,
    size_type n1,
    char const* s) const;
constexpr
int
compare(
    size_type pos1,
    size_type n1,
    char const* s,
    size_type n2) const;

Description

See core::string_view::compare