15 #ifndef INDIRECTCOMPARESORT_H
16 #define INDIRECTCOMPARESORT_H
18 #include "pandabase.h"
27 template<
class ObjectType>
30 INLINE
bool operator () (
const ObjectType *a,
const ObjectType *b)
const;
33 #include "indirectCompareSort.I"
bool operator()(const ObjectType *a, const ObjectType *b) const
Returns true if a sorts before b, false otherwise.
An STL function object class, this is intended to be used on any ordered collection of pointers to cl...