boost::urls::grammar::ci_less :: Boost Libraries Documentation

# boost::urls::grammar::ci_less

A case‐insensitive less predicate for strings

## Synopsis

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

    using ci_less = /* implementation-defined */;

## Description

The comparison algorithm implements a case‐insensitive total order on the set of all ASCII strings; however, it is not a lexicographical comparison. This is a suitable predicate for ordered containers. The function is defined only for strings containing low‐ASCII characters.

## Example

    boost::container::map< std::string, std::string, ci_less > m1;

    std::map< std::string, std::string, ci_less > m2; // (since C++14)

## See Also

`ci_equal`, `ci_hash`.

Created with MrDocs