An STL function object class, this is intended to be used on any ordered collection of pairs of objects. More...
#include "firstOfPairCompare.h"
Public Member Functions | |
FirstOfPairCompare (Compare compare=Compare()) | |
bool | operator() (const ObjectType &a, const ObjectType &b) const |
Returns true if a sorts before b, false otherwise. More... | |
Public Attributes | |
Compare | _compare |
An STL function object class, this is intended to be used on any ordered collection of pairs of objects.
It invokes the indicated comparison function object on the first object of its pair.
Definition at line 25 of file firstOfPairCompare.h.
|
inline |
Returns true if a sorts before b, false otherwise.
Definition at line 27 of file firstOfPairCompare.I.