BloombergLP::bdlb::CStringLess::operator()

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

NameDescription
lhsleft-hand null-terminated string to compare
rhsright-hand null-terminated string to compare