#include <CTBcompare.hxx>
Public Methods | |
| int | operator() (const T &v1, const T &v2) |
This class provides a function object for the lexical comparison of two objects of class T, implemented in terms of the = and < operator of class T. It's used for example with associative containers like CTBmap.
Definition at line 34 of file CTBcompare.hxx.
|
|||||||||||||||||||
|
Returns 0 if *v1 and *v2 are equal, a positive number if *v1 is larger than *v2, and a negative number if *v1 is smaller than *v2. Definition at line 74 of file CTBcompare.icc. |
1.2.9-20010812 written by Dimitri van Heesch,
© 1997-2001