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

Compare two string views for equality

== Synopsis

Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/grammar/string_view_base.hpp#L999[boost&sol;url&sol;grammar&sol;string&lowbar;view&lowbar;base&period;hpp]&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
bool
operator&equals;&equals;(
    S0 const& s0,
    S1 const& s1) noexcept
requires is&lowbar;match&lt;S0, S1&gt;&colon;&colon;value;
----

== Description

This function is only enabled if both arguments are convertible to `core&colon;&colon;string&lowbar;view` and at least one of the arguments is derived from `string&lowbar;view&lowbar;base`&period;

== Return Value

`true` if the strings are equal, otherwise `false`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s0*
| The first string
| *s1*
| The second string
|===


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