:relfileprefix: ../../../../ [#B144658E63F7F6D7EE8F5659585F13B5FE3C4BA9] = 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) const; ---- == Description pass:v,q[See `core::string_view::compare`] == Return Value * `int` == Parameters |=== | Name | Type | *pos1* | `size_type` | *n1* | `size_type` | *s* | `` |===