Return the result of comparing to another string

Synopsis

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

constexpr
int
compare(
    size_type pos1,
    size_type n1,
    const char* s) const;

Description

See core::string_view::compare

Return Value

  • int

Parameters

Name Type

pos1

size_type

n1

size_type

s

``