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

Synopsis

Declared in header </boost/url/authority_view.hpp#L1246[boost/url/authority_view.hpp,window=blank_]>

bool
operator==(
    const authority_view& a0,
    const authority_view& a1) noexcept;

Description

Complexity

Linear in min( a0.size(), a1.size() )

Exception Safety

Throws nothing

Return Value

  • bool

Parameters

Name Type

a0

``

a1

``