BDE 4.14.0 Production release
|
#include <bslstl_stringref.h>
Static Public Member Functions | |
template<class CHAR_TYPE > | |
static int | compare (const StringRefImp< CHAR_TYPE > &a, const CHAR_TYPE *b) |
template<class CHAR_TYPE > | |
static bool | compareEqual (const StringRefImp< CHAR_TYPE > &a, const StringRefImp< CHAR_TYPE > &b) |
template<class CHAR_TYPE > | |
static bool | compareEqual (const StringRefImp< CHAR_TYPE > &a, const CHAR_TYPE *b) |
[PRIVATE] This class provides a namespace for private comparison implementation functions.
|
static |
Compare the specified string object a
with the specified null-terminated C-string b
using a lexicographical comparison and return a negative value if a
is less than b
, a positive value if a
is greater than b
, and 0 if a
is equal to b
.
|
static |
Return true
if the specified a
is equal to the specified null-terminated C-string b
and false
otherwise. Note that this function is more efficient than compare
for non-lexicographical equality comparisons.
|
inlinestatic |
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.