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