Quick Links:

bal | bbl | bdl | bsl

Public Member Functions

bsl::List_DefaultLessThan< VALUE > Struct Template Reference
[Component bslstl_list]

#include <bslstl_list.h>

List of all members.

Public Member Functions

bool operator() (const VALUE &lhs, const VALUE &rhs) const

Detailed Description

template<class VALUE>
struct bsl::List_DefaultLessThan< VALUE >

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.

See Component bslstl_list


Member Function Documentation

template<class VALUE >
bool bsl::List_DefaultLessThan< VALUE >::operator() ( const VALUE &  lhs,
const VALUE &  rhs 
) const

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


The documentation for this struct was generated from the following file: