:relfileprefix: ../../../
[#boost-urls-grammar-ci_less]

== xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::xref:boost/urls/grammar.adoc[pass:[grammar]]::ci_less


A case-insensitive less predicate for strings


=== Synopsis

Declared in header `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/grammar/ci_string.hpp#L452[boost/url/grammar/ci_string.hpp,window=blank_]>`

[source,cpp,subs="verbatim,macros,-callouts"]
----
using ci_less = pass:q[_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.
[,cpp]
----
boost::container::map< std::string, std::string, ci_less > m1;

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



=== See Also


xref:boost/urls/grammar/ci_equal.adoc[ci_equal]
,
xref:boost/urls/grammar/ci_hash.adoc[ci_hash]
.



