An STL function object class, this is intended to be used on any ordered collection of pointers to classes that contain a compare_to() method. More...
#include "stl_compares.h"
Public Member Functions | |
bool | is_equal (const Key &a, const Key &b) const |
Returns true if a is equivalent to b, false otherwise. More... | |
bool | operator() (const Key &a, const Key &b) const |
Returns true if a sorts before b, false otherwise. More... | |
An STL function object class, this is intended to be used on any ordered collection of pointers to classes that contain a compare_to() method.
It defines the order of the pointers via compare_to().
Definition at line 96 of file stl_compares.h.
|
inline |
Returns true if a is equivalent to b, false otherwise.
Definition at line 74 of file stl_compares.I.
|
inline |
Returns true if a sorts before b, false otherwise.
Definition at line 65 of file stl_compares.I.