Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the develop branch, built from commit e04a3dd37a.
PrevUpHomeNext

grammar::ci_less

A case-insensitive less predicate for strings.

Synopsis

Defined 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

ci_equal, ci_hash.

Convenience header <boost/url/grammar.hpp>


PrevUpHomeNext