Boost C++ Libraries Home Libraries People FAQ More

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