Return true if a is equal to b, and false otherwise.
Synopsis
Declared in <bslstl_stringref.h>
template<class CHAR_TYPE>
static
bool
compareEqual(
StringRefImp<CHAR_TYPE> const& a,
StringRefImp<CHAR_TYPE> const& b);
Description
Return true if the specified a is equal to b and false otherwise. Note that this function is more efficient than compare for non‐lexicographical equality comparisons.
Return Value
true if a equals b, and false otherwise
Parameters
Name |
Description |
a |
first string reference to compare |
b |
second string reference to compare |
Created with MrDocs