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

# boost::urls::grammar::operator<

Compare two string views for less than

## Synopsis

Declared in `<boost/url/grammar/string_view_base.hpp>`

    constexpr
    bool
    operator<(
        S0 const& s0,
        S1 const& s1) noexcept
    requires is_match<S0, S1>::value;

## Description

This function is only enabled if both arguments are convertible to `core::string_view` and at least one of the arguments is derived from `string_view_base`.

## Return Value

`true` if the first string is less than the second, otherwise `false`

## Parameters

Name | Description
--- | ---
s0 | The first string
s1 | The second string

Created with MrDocs