bsl::List_DefaultLessThan

Binary predicate type for comparing two VALUE objects using operator<. This operation is usually, but not always, the same as that provided by std::less<VALUE>. The standard requires that certain functions use operator<, which means that divergent specializations of std::less are to be ignored.

Synopsis

Declared in <bslstl_list.h>

template<class VALUE>
struct List_DefaultLessThan;

Member Functions

NameDescription
operator() Return true if the value of the specified lhs is less than that of the specified rhs, and false otherwise.