Return the result of comparing to another string

Synopsis

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

constexpr
int
compare(
    size_type pos1,
    size_type n1,
    string_view str) const;

Description

See core::string_view::compare

Return Value

  • int

Parameters

Name Type

pos1

size_type

n1

size_type

str

string_view