<boost/url/authority_view.hpp>
int
compare(authority_view const& other) const noexcept;
This function compares two authorities according to Syntax-Based comparison algorithm.
Throws nothing.
-1
if *this < other
, 0
if this == other
, and 1 if this > other
.
Name | Description |
---|---|
other | The authority to compare |