#include <bdlb_cstringless.h>
List of all members.
Detailed Description
This struct
defines an ordering on null-terminated character strings, enabling them for use as keys in the standard associative containers such as bsl::map
and bsl::set
. Note that this class is an empty POD type.
See Component bdlb_cstringless
Member Typedef Documentation
Constructor & Destructor Documentation
bdlb::CStringLess::CStringLess |
( |
|
) |
|
bdlb::CStringLess::CStringLess |
( |
const CStringLess & |
original |
) |
|
Create a CStringLess
object. Note that as CStringLess
is an empty (stateless) type, this operation has no observable effect.
bdlb::CStringLess::~CStringLess |
( |
|
) |
|
Member Function Documentation
Assign to this object the value of the specified rhs
object, and return a reference providing modifiable access to this object. Note that as CStringLess
is an empty (stateless) type, this operation has no observable effect.
bool bdlb::CStringLess::operator() |
( |
const char * |
lhs, |
|
|
const char * |
rhs | |
|
) |
| | const |
Return true
if the specified lhs
string is lexicographically ordered before the specified rhs
string, and false
otherwise. The behavior is undefined unless both lhs
and rhs
point to null-terminated strings.
The documentation for this struct was generated from the following file: