[#BloombergLP-bdlb-CStringLess] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::CStringLess :relfileprefix: ../../ :mrdocs: 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. == Synopsis Declared in `<bdlb_cstringless.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct CStringLess; ---- == Type Aliases [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlb/CStringLess/first_argument_type.adoc[`first_argument_type`] | First argument type for this function object. | xref:BloombergLP/bdlb/CStringLess/result_type.adoc[`result_type`] | Result type for this function object. | xref:BloombergLP/bdlb/CStringLess/second_argument_type.adoc[`second_argument_type`] | Second argument type for this function object. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlb/CStringLess/operator_call.adoc[`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. | xref:BloombergLP/bdlb/CStringLess/2conversion.adoc[`operator BloombergLP::bslmf::NestedTraitDeclaration<CStringLess, is_trivially_default_constructible>`] | Declare that this type is trivially copyable. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#