<boost/url/url_view_base.hpp>
int
compare(url_view_base const& other) const noexcept;
This function compares two URLs according to Syntax-Based comparison algorithm.
Linear in min( u0.size(), u1.size() )
Throws nothing.
*this < other
, 0 if this == other
, and 1 if this > other
.
Name | Description |
---|---|
other | The url to compare |