[#boost-urls-operator_lt-0a] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::operator< :relfileprefix: ../../ :mrdocs: Return the result of comparing two authorities The authorities are compared component by component as if they were first normalized. == Synopsis Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/authority_view.hpp#L1366[boost/url/authority_view.hpp]>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool operator<( xref:boost/urls/authority_view.adoc[authority_view] const& a0, xref:boost/urls/authority_view.adoc[authority_view] const& a1) noexcept; ---- == Description == Complexity Linear in `min( a0.size(), a1.size() )` == Exception Safety Throws nothing == Return Value `true` if `a0 < a1`, otherwise `false` == Parameters [cols=2] |=== | Name | Description | *a0* | The first authority to compare | *a1* | The second authority to compare |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#