Return true if s0 is less than s1 using case-insensitive comparison

Synopsis

Declared in header </boost/url/grammar/ci_string.hpp#L224[boost/url/grammar/ci_string.hpp,window=blank_]>

bool
ci_is_less(
    string_view s0,
    string_view s1) noexcept;

Description

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

Example

assert( ! ci_is_less( "Boost", "boost" ) );

Return Value

  • bool

Parameters

Name Type

s0

string_view

s1

string_view