Return true if lhs and rhs are equal ignoring case.

Synopsis

Declared in <bdlb_stringviewutil.h>

static
bool
areEqualCaseless(
    std::string_view const& lhs,
    std::string_view const& rhs);

Description

Compare (the referent data of) the specified lhs and rhs. Return true if lhs and rhs are equal up to a case conversion, and false otherwise. See {Caseless Comparisons}.

Return Value

true if equal ignoring case, and false otherwise

Parameters

Name

Description

lhs

left‐hand string view

rhs

right‐hand string view

Created with MrDocs