[#boost-urls-authority_view-08friend-00c]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::operator&equals;&equals;
:relfileprefix: ../../../
:mrdocs:


Return the result of comparing two authorities        The authorities are compared component        by component as if they were first        normalized&period;

== Synopsis


Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/authority_view.hpp#L1246[boost&sol;url&sol;authority&lowbar;view&period;hpp]&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
friend
bool
operator&equals;&equals;(
    xref:boost/urls/authority_view.adoc[authority&lowbar;view] const& a0,
    xref:boost/urls/authority_view.adoc[authority&lowbar;view] const& a1) noexcept;
----

== Description



=== Complexity

Linear in `min( a0&period;size(), a1&period;size() )`


=== Exception Safety

Throws nothing





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