boost::urls::grammar::ci_is_equal

Return true if s0 equals s1 using case‐insensitive comparison

Synopsis

template<
    class String0,
    class String1>
bool
ci_is_equal(
    String0 const& s0,
    String1 const& s1)
requires ! std::is_convertible<
                String0, core::string_view>::value ||
            ! std::is_convertible<
                String1, core::string_view>::value;

Description

The function is defined only for strings containing low‐ASCII characters.

Example

assert( ci_is_equal( "Boost", "boost" ) );

Return Value

true if s0 case‐insensitively equals s1, otherwise false

Parameters

Name

Description

s0

The first string

s1

The second string

See Also

Created with MrDocs