Return true if the specified lhs string is lexicographically ordered before the specified rhs string, and false otherwise.

Synopsis

Declared in <bdlb_cstringless.h>

bool
operator()(
    char const* lhs,
    char const* rhs) const;

Description

The behavior is undefined unless both lhs and rhs point to null‐terminated strings.

Return Value

true if lhs is lexicographically less than rhs, and false otherwise

Parameters

Name

Description

lhs

left‐hand null‐terminated string to compare

rhs

right‐hand null‐terminated string to compare

Created with MrDocs