boost::urls::operator==

Equality operators

Synopses

Declared in <boost/url/authority_view.hpp>

Return true if two addresses are equal

bool
operator==(
    ipv6_address const& a1,
    ipv6_address const& a2) noexcept;
» more...

Return true if two addresses are equal

bool
operator==(
    ipv4_address const& a1,
    ipv4_address const& a2) noexcept;
» more...

Compare two decode views for equality

constexpr
bool
operator==(
    S const& lhs,
    decode_view const& rhs) noexcept;
» more...

Compare two decode views for equality

constexpr
bool
operator==(
    decode_view const& lhs,
    S const& rhs) noexcept;
» more...

Compare two decode views for equality

constexpr
bool
operator==(
    decode_view const& lhs,
    decode_view const& rhs) noexcept;
» more...

Return the result of comparing two URLs

bool
operator==(
    url_view_base const& u0,
    url_view_base const& u1) noexcept;
» more...
bool
operator==(
    iterator const& it0,
    iterator const& it1) noexcept;
» more...

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

bool
operator==(
    authority_view const& a0,
    authority_view const& a1) noexcept;
» 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

NameDescription
a1The first address to compare.
a2The second address to compare.
lhsThe left-hand-side decode view to compare
rhsThe right-hand-side decode view to compare
u0The first url to compare
u1The second url to compare
a0The first authority to compare