[#boost-urls-operator_eq-011] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::operator== :relfileprefix: ../../ :mrdocs: Equality operators == Synopses Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/authority_view.hpp#L1318[boost/url/authority_view.hpp]>` Return true if two addresses are equal [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:boost/urls/operator_eq-0fd.adoc[operator==]( xref:boost/urls/ipv6_address.adoc[ipv6_address] const& a1, xref:boost/urls/ipv6_address.adoc[ipv6_address] const& a2) noexcept; ---- [.small]#xref:boost/urls/operator_eq-0fd.adoc[_» more..._]# Return true if two addresses are equal [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:boost/urls/operator_eq-0f2.adoc[operator==]( xref:boost/urls/ipv4_address.adoc[ipv4_address] const& a1, xref:boost/urls/ipv4_address.adoc[ipv4_address] const& a2) noexcept; ---- [.small]#xref:boost/urls/operator_eq-0f2.adoc[_» more..._]# Compare two decode views for equality [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<std::convertible_to<core::string_view> S> constexpr bool xref:boost/urls/operator_eq-02.adoc[operator==]( S const& lhs, xref:boost/urls/decode_view.adoc[decode_view] const& rhs) noexcept; ---- [.small]#xref:boost/urls/operator_eq-02.adoc[_» more..._]# Compare two decode views for equality [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<std::convertible_to<core::string_view> S> constexpr bool xref:boost/urls/operator_eq-090.adoc[operator==]( xref:boost/urls/decode_view.adoc[decode_view] const& lhs, S const& rhs) noexcept; ---- [.small]#xref:boost/urls/operator_eq-090.adoc[_» more..._]# Compare two decode views for equality [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr bool xref:boost/urls/operator_eq-091.adoc[operator==]( xref:boost/urls/decode_view.adoc[decode_view] const& lhs, xref:boost/urls/decode_view.adoc[decode_view] const& rhs) noexcept; ---- [.small]#xref:boost/urls/operator_eq-091.adoc[_» more..._]# Return the result of comparing two URLs [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:boost/urls/operator_eq-013.adoc[operator==]( xref:boost/urls/url_view_base.adoc[url_view_base] const& u0, xref:boost/urls/url_view_base.adoc[url_view_base] const& u1) noexcept; ---- [.small]#xref:boost/urls/operator_eq-013.adoc[_» more..._]# [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool operator==( xref:boost/urls/params_encoded_base/iterator.adoc[iterator] const& it0, xref:boost/urls/params_encoded_base/iterator.adoc[iterator] const& it1) noexcept; ---- [.small]#[_» more..._]# Return the result of comparing two authorities. The authorities are compared component by component as if they were first normalized. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:boost/urls/operator_eq-092.adoc[operator==]( xref:boost/urls/authority_view.adoc[authority_view] const& a0, xref:boost/urls/authority_view.adoc[authority_view] const& a1) noexcept; ---- [.small]#xref:boost/urls/operator_eq-092.adoc[_» more..._]# == Return Value * `true` if the addresses are equal * `true` if the addresses are equal, otherwise `false`. * `true` if decoded `lhs` is equal to the decoded `rhs` * `true` if `u0 == u1` * `true` if `a0 == a1`, otherwise `false` == Parameters [cols=2] |=== | Name | Description | *a1* | The first address to compare. | *a2* | The second address to compare. | *lhs* | The left‐hand‐side decode view to compare | *rhs* | The right‐hand‐side decode view to compare | *u0* | The first url to compare | *u1* | The second url to compare | *a0* | The first authority to compare |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#