27 template<
typename TYPE>
63 template<
typename TYPE>
82 template<
typename TYPE>
101 template<
typename TYPE>
120 template<
typename TYPE>
139 template<
typename TYPE>
158 template<
typename TYPE>
171 template <
typename TYPE>
174 return this->compare(
t1,
t2);
177 template <
typename TYPE>
183 template<
typename TYPE>
189 template <
typename TYPE>
195 template <
typename TYPE>
201template<
typename TYPE>
208 template <
typename TYPE>
Base class for comparison.
Definition comparator.h:28
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.
Definition comparator.h:172
virtual bool compare(const TYPE &t1, const TYPE &t2) const =0
Pure virtual compare method for comparing two elements.
Comparator for decreasing comparison (greater than).
Definition comparator.h:83
bool compare(const TYPE &t1, const TYPE &t2) const override
Compares two elements to check if the first is greater than the second.
Definition comparator.h:184
Comparator for non-strict decreasing comparison (greater than or equal to).
Definition comparator.h:159
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.
Definition comparator.h:209
Comparator for equality comparison.
Definition comparator.h:102
bool compare(const TYPE &t1, const TYPE &t2) const override
Compares two elements to check if they are equal.
Definition comparator.h:190
Comparator for increasing comparison (less than).
Definition comparator.h:64
bool compare(const TYPE &t1, const TYPE &t2) const override
Compares two elements to check if the first is less than the second.
Definition comparator.h:178
Comparator for non-strict increasing comparison (less than or equal to).
Definition comparator.h:140
bool compare(const TYPE &t1, const TYPE &t2) const override
Compares two elements to check if the first is less than or equal to the second.
Definition comparator.h:202
Comparator for inequality comparison.
Definition comparator.h:121
bool compare(const TYPE &t1, const TYPE &t2) const override
Compares two elements to check if they are not equal.
Definition comparator.h:196
Unique ownership smart pointer with move semantics.
Definition ownerPtr.h:37
Main namespace for the project Original.
Definition algorithms.h:21