#include <elm/compare.h>
|
int | doCompare (const T &v1, const T &v2) const |
|
|
static int | compare (const T &v1, const T &v2) |
|
template<class T>
class elm::Comparator< T >
Comparator concept (elm/compare.h) allows comparing two data.
Several implementation of Comparator concept exists:
- Parameters
-
T | Type of compared objects. |
◆ compare()
int compare |
( |
const T & |
v1, |
|
|
const T & |
v2 |
|
) |
| |
|
inlinestatic |
◆ doCompare()
int doCompare |
( |
const T & |
v1, |
|
|
const T & |
v2 |
|
) |
| const |
|
inline |
The documentation for this class was generated from the following files:
- include/elm/compare.h
- src/util_Comparator.cpp