compare

Return the result of comparing this with another url

Synopsis

int compare( const url_view_base& other) noexcept;

Declared in file <src/url_view_base.cpp> at 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.

Specification

  • 6.2.2 Syntax-Based Normalization (rfc3986)