|
ORIGINAL
|
Comparator for increasing comparison (less than). More...
#include <comparator.h>


Public Member Functions | |
| bool | compare (const TYPE &t1, const TYPE &t2) const override |
| Compares two elements to check if the first is less than the second. | |
Public Member Functions inherited from original::comparator< TYPE > | |
| virtual | ~comparator ()=default |
| Virtual destructor for the comparator class. | |
| bool | operator() (const TYPE &t1, const TYPE &t2) const |
| Function call operator for comparing two elements using the compare method. | |
Comparator for increasing comparison (less than).
| TYPE | Type of the elements being compared |
This class compares two elements and returns true if the first element is less than the second.
|
overridevirtual |
Compares two elements to check if the first is less than the second.
| t1 | The first element to compare. |
| t2 | The second element to compare. |
true if t1 is less than t2, otherwise false. Implements original::comparator< TYPE >.