BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bsl::List_DefaultLessThan< VALUE > Struct Template Reference

#include <bslstl_list.h>

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.

Member Function Documentation

◆ operator()()

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

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: