boost::urls::operator<

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

Synopsis

Declared in <boost/url/authority_view.hpp>

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

NOTE

This function is a hidden friend of authority_view, declared only inside that class: it can be found only through argument-dependent lookup.

Complexity

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

Exception Safety

Throws nothing

Return Value

true if a0 < a1, otherwise false

Parameters

NameDescription
a0The first authority to compare
a1The second authority to compare