[#BA81C12459B08646E23FCC315229F4B1945197C7]

Function ci_compare

Return the case-insensitive comparison of s0 and s1

Synopsis

            int
ci_compare(
    core::string_view s0,
    core::string_view s1) noexcept;
        

Description

This returns the lexicographical comparison of two strings, ignoring case. The function is defined only for strings containing low-ASCII characters.

Example

assert( ci_compare( "boost", "Boost" ) == 0 );

Exception Safety

Throws nothing.