Return the result of comparing this with another url
Synopsis
Declared in header </boost/url/url_view_base.hpp#L2359[boost/url/url_view_base.hpp,window=blank_]>
int
compare(const url_view_base& other) const noexcept;
Description
This function compares two URLs according to Syntax-Based comparison algorithm.
Complexity
Linear in min( u0.size(), u1.size() )
Exception Safety
Throws nothing.
Specification
Return Value
-
int
Parameters
Name | Type |
---|---|
other |
`` |