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


Return true if s0 is less than s1 using case&hyphen;insensitive comparison

== Synopsis


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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
ci&lowbar;is&lowbar;less(
    core::string&lowbar;view s0,
    core::string&lowbar;view s1) noexcept;
----

== Description


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


=== Example

[,cpp]
----
assert( ! ci_is_less( "Boost", "boost" ) );
----


== See Also


xref:boost/urls/grammar/ci_compare.adoc[ci&lowbar;compare],        xref:boost/urls/grammar/ci_is_equal-0a.adoc[ci&lowbar;is&lowbar;equal]&period;






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