[#boost-urls-grammar-ci_less]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/grammar.adoc[grammar]::ci&lowbar;less
:relfileprefix: ../../../
:mrdocs:


A case&hyphen;insensitive less predicate for strings

== Synopsis


Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/grammar/ci_string.hpp#L353[boost&sol;url&sol;grammar&sol;ci&lowbar;string&period;hpp]&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
using ci&lowbar;less = &sol;&ast; implementation-defined &ast;&sol;::xref:boost/urls/grammar/implementation_defined/ci_less.adoc[ci&lowbar;less];
----

== Description


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


=== Example

[,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&lowbar;equal],        xref:boost/urls/grammar/ci_hash.adoc[ci&lowbar;hash]&period;






[.small]#Created with https://www.mrdocs.com[MrDocs]#
