compare

Return the result of comparing this with another url

Synopsis

int
compare(const url_view_base& other) const noexcept;

Declared in file <include/boost/url/url_view_base.hpp> on line 2359

Defined in file <src/url_view_base.cpp> on line 660

Description

This function compares two URLs according to Syntax-Based comparison algorithm.

Complexity

Linear in min( u0.size(), u1.size() )

Exception Safety

Throws nothing.