[#boost-urls-grammar-operator_eq]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/grammar.adoc[grammar]::operator==
:relfileprefix: ../../../
:mrdocs:


Compare two string views for equality

== Synopsis


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

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

== Description


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]#