BloombergLP::bslstl::StringRefImp_CompareUtil::compareEqual

compareEqual overloads

Synopses

Declared in <bslstl_stringref.h>

Return true if a is equal to b, and false otherwise.

template<class CHAR_TYPE>
static
bool
compareEqual(
    StringRefImp<CHAR_TYPE> const& a,
    StringRefImp<CHAR_TYPE> const& b);
» more...

Return true if a is equal to C-string b, and false otherwise.

template<class CHAR_TYPE>
static
bool
compareEqual(
    StringRefImp<CHAR_TYPE> const& a,
    CHAR_TYPE const* b);
» more...

Return Value

true if a equals b, and false otherwise

Parameters

NameDescription
afirst string reference to compare
bsecond string reference to compare