|
ORIGINAL
|
Comparator for inequality comparison. More...
#include <comparator.h>


Public Member Functions | |
| bool | compare (const TYPE &t1, const TYPE &t2) const override |
| Compares two elements to check if they are not equal. | |
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 inequality comparison.
| TYPE | Type of the elements being compared |
This class compares two elements and returns true if the elements are not equal.
|
overridevirtual |
Compares two elements to check if they are not equal.
| t1 | The first element to compare. |
| t2 | The second element to compare. |
true if t1 is not equal to t2, otherwise false. Implements original::comparator< TYPE >.