L4Re Operating System Framework
Interface and Usage Documentation
|
Comparison functor for Pair. More...
#include <pair>
Public Member Functions | |
Pair_first_compare (Cmp const &cmp=Cmp()) | |
Construction. | |
bool | operator() (Typ const &l, Typ const &r) const |
Do the comaprison based on the first value. | |
Comparison functor for Pair.
Cmp | Comparison functor for the first value of the pair. |
Typ | The pair type. |
This functor can be used to compare Pair values with respect to the first value.
|
inline |
|
inline |