boost::urls::operator<= :: Boost Libraries Documentation

# boost::urls::operator<=

Return the result of comparing two authorities. The authorities are compared component by component as if they were first normalized.

## Synopsis

Declared in `<boost/url/authority_view.hpp>`

    bool
    operator<=(
        authority_view const& a0,
        authority_view const& a1) noexcept;

## Complexity

Linear in `min( a0.size(), a1.size() )`

## Exception Safety

Throws nothing

## Return Value

`true` if `a0 <= a1`, otherwise `false`

## Parameters

Name | Description
--- | ---
a0 | The first authority to compare
a1 | The second authority to compare

Created with MrDocs