ORIGINAL
|
Comparator for non-strict decreasing comparison (greater than or equal to). 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 greater than or equal to the second. | |
![]() | |
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 non-strict decreasing comparison (greater than or equal to).
TYPE | Type of the elements being compared |
This class compares two elements and returns true
if the first element is greater than or equal to the second.
|
overridevirtual |
Compares two elements to check if the first is greater than or equal to the second.
t1 | The first element to compare. |
t2 | The second element to compare. |
true
if t1
is greater than or equal to t2
, otherwise false
. Implements original::comparator< TYPE >.