15 #ifndef FIRSTOFPAIRCOMPARE_H
16 #define FIRSTOFPAIRCOMPARE_H
18 #include "pandabase.h"
27 template<
class ObjectType,
class Compare>
31 INLINE
bool operator () (
const ObjectType &a,
const ObjectType &b)
const;
35 #include "firstOfPairCompare.I"
An STL function object class, this is intended to be used on any ordered collection of pairs of objec...
bool operator()(const ObjectType &a, const ObjectType &b) const
Returns true if a sorts before b, false otherwise.