Compare lhs and rhs after converting both to upper case.
Declared in <bdlb_stringviewutil.h>
static
int
upperCaseCmp(
std::string_view const& lhs,
std::string_view const& rhs);
Compare (the referent data of) the specified lhs and rhs. Return 1 if, after a conversion to upper case, lhs is greater than rhs, 0 if lhs and rhs are equal up to a case conversion, and -1 otherwise. See {Caseless Comparisons}.
1 if lhs is greater, 0 if equal, and -1 otherwise
| Name | Description |
|---|---|
| lhs | left-hand string view |
| rhs | right-hand string view |