:relfileprefix: pass:[../../../../]

[#boost-urls-grammar-string_view_base-08friend-09]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/grammar.adoc[grammar]::operator==


Compare two string views for equality


== Synopsis

Declared in `<xref:https://www.github.com/boostorg/url/blob/develop/include/boost/url/grammar/string_view_base.hpp#L[pass:[boost/url/grammar/string_view_base.hpp]]>>`

[source,cpp,subs="verbatim,macros,-callouts"]
----
template<
    class S0,
    class S1>
friend
constexpr
bool
operator==(
    S0 const& s0,
    S1 const& s1) noexcept;
----

== Description

pass:[
This function is only enabled if both arguments
are convertible to `core::string_view` and at least
one of the arguments is derived from `string_view_base`.
]




[.small]#Created with https://www.mrdocs.com[MrDocs]#
