:relfileprefix: ../../../../ [#C193973BE47A0373A341D262368697A340CF95A1] = Function string_view_base::compare pass:v,q[Return the result of comparing to another string] == Synopsis Declared in header `` [source,cpp,subs="verbatim,macros,-callouts"] ---- constexpr int compare( xref:boost/urls/grammar/string_view_base/size_type.adoc[size_type] pos1, xref:boost/urls/grammar/string_view_base/size_type.adoc[size_type] n1, const char* s, xref:boost/urls/grammar/string_view_base/size_type.adoc[size_type] n2) const; ---- == Description pass:v,q[See `core::string_view::compare`] == Return Value * `int` == Parameters |=== | Name | Type | *pos1* | `size_type` | *n1* | `size_type` | *s* | `` | *n2* | `size_type` |===