#include </home/casse/otawa/elm/src/concepts.h>
|
static int | compare (const T &object1, const T &object2) |
|
template<class T>
class elm::concept::Comparator< T >
This concept must be implemented by classes providing comparisons of values (strict order).
- Parameters
-
T | Type of objects to compare. |
- Implemented by:
- elm::Comparator, elm::SubstractComparator, elm::CompareComparator, elm::AssocComparator, elm::ReverseComparator
Compare two objects.
- Parameters
-
object1 | First object to compare. |
object2 | Second object to compare. |
- Returns
- <0 if object 1 is less than object 2, 0 if they are equals, >0 else.
The documentation for this class was generated from the following file: