bsl::List_DefaultLessThan

Binary predicate comparing two VALUE objects with operator<.

Synopsis

Declared in <bslstl_list.h>

template<class VALUE>
struct List_DefaultLessThan;

Description

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.

Member Functions

NameDescription
operator() Return true if lhs is less than rhs, and false otherwise.