#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 18 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 30 of file CTBcompare.icc. |