Return the result of comparing this with another authority

Synopsis

Declared in header </boost/url/authority_view.hpp#L1232[boost/url/authority_view.hpp,window=blank_]>

int
compare(const authority_view& other) const noexcept;

Description

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

Exception Safety

Throws nothing.

Return Value

  • int

Parameters

Name Type

other

``