Home:

boost::urls::grammar::ci_less

A case-insensitive less predicate for strings

Synopsis

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

using ci_less = see-below;

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