ci_compare

Return the case-insensitive comparison of s0 and s1

Synopsis

int ci_compare( string_view s0, string_view s1) noexcept;

Declared in file <src/grammar/ci_string.cpp> at line 82

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.