areEqualCaseless overloads
Synopses
Declared in <bdlb_string.h>
Compare lhsString and rhsString for case‐insensitive equality.
static
bool
areEqualCaseless(
bsl::string const& lhsString,
bsl::string const& rhsString);
Compare for equality the specified lhsString and rhsString as if the strings were converted to lower case before the equality comparison.
static
bool
areEqualCaseless(
bsl::string const& lhsString,
char const* rhsString);
Compare lhsString and rhsString for case‐insensitive equality.
static
bool
areEqualCaseless(
char const* lhsString,
bsl::string const& rhsString);
Compare for equality the specified lhsString and rhsString having the optionally specified lhsLength and rhsLength, respectively, as if the strings were converted to lower case before the equality comparison. Return true if lhsString is equal to rhsString, and false otherwise. The behavior is undefined unless 0 <= lhsLength and 0 <= rhsLength (if specified), and lhsString.size() <= INT_MAX and rhsString.size() <= INT_MAX (if applicable). See {`bdlb_stringviewutil`} for an identically named method having the same semantics taking bsl::string_view.
static
bool
areEqualCaseless(
char const* lhsString,
char const* rhsString);
Compare lhsString and rhsString for case‐insensitive equality.
static
bool
areEqualCaseless(
bsl::string const& lhsString,
char const* rhsString,
int rhsLength);
Same as the preceding overload, comparing against a bsl::string.
static
bool
areEqualCaseless(
char const* lhsString,
int lhsLength,
bsl::string const& rhsString);
Compare lhsString and rhsString for case‐insensitive equality.
static
bool
areEqualCaseless(
char const* lhsString,
int lhsLength,
char const* rhsString);
Compare for equality the specified lhsString and rhsString having the optionally specified lhsLength and rhsLength, respectively, as if the strings were converted to lower case before the equality comparison.
static
bool
areEqualCaseless(
char const* lhsString,
char const* rhsString,
int rhsLength);
Same as the preceding overload, with an explicit rhsLength.
static
bool
areEqualCaseless(
char const* lhsString,
int lhsLength,
char const* rhsString,
int rhsLength);
Created with MrDocs