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.
Declared in <bdlb_cstringless.h>
struct CStringLess;
| Name | Description |
|---|---|
first_argument_type | First argument type for this function object. |
result_type | Result type for this function object. |
second_argument_type | Second argument type for this function object. |
| Name | Description |
|---|---|
operator() | 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. |
operator BloombergLP::bslmf::NestedTraitDeclaration<CStringLess, is_trivially_default_constructible> | Declare that this type is trivially copyable. |