6 template<
typename TYPE>
10 virtual bool compare(
const TYPE& t1,
const TYPE& t2)
const = 0;
11 bool operator()(
const TYPE& t1,
const TYPE& t2)
const;
14 template<
typename TYPE>
17 bool compare(
const TYPE& t1,
const TYPE& t2)
const override;
20 template<
typename TYPE>
23 bool compare(
const TYPE& t1,
const TYPE& t2)
const override;
26 template<
typename TYPE>
29 bool compare(
const TYPE& t1,
const TYPE& t2)
const override;
32 template<
typename TYPE>
35 bool compare(
const TYPE& t1,
const TYPE& t2)
const override;
38 template<
typename TYPE>
41 bool compare(
const TYPE& t1,
const TYPE& t2)
const override;
44 template<
typename TYPE>
47 bool compare(
const TYPE& t1,
const TYPE& t2)
const override;
52 template <
typename TYPE>
53 auto original::comparator<TYPE>::operator()(
const TYPE& t1,
const TYPE& t2)
const ->
bool
55 return this->compare(t1, t2);
58 template <
typename TYPE>
59 auto original::increaseComparator<TYPE>::compare(
const TYPE& t1,
const TYPE& t2)
const ->
bool
64 template<
typename TYPE>
65 auto original::decreaseComparator<TYPE>::compare(
const TYPE& t1,
const TYPE& t2)
const ->
bool
70 template <
typename TYPE>
71 auto original::equalComparator<TYPE>::compare(
const TYPE& t1,
const TYPE& t2)
const ->
bool
76 template <
typename TYPE>
77 auto original::notEqualComparator<TYPE>::compare(
const TYPE& t1,
const TYPE& t2)
const ->
bool
82template<
typename TYPE>
83 auto original::increaseNotStrictComparator<TYPE>::compare(
const TYPE& t1,
const TYPE& t2)
const ->
bool
85 return t1 < t2 || t1 == t2;
89 template <
typename TYPE>
90 auto original::decreaseNotStrictComparator<TYPE>::compare(
const TYPE& t1,
const TYPE& t2)
const ->
bool
92 return t1 > t2 || t1 == t2;
Definition comparator.h:7
Definition comparator.h:21
Definition comparator.h:45
Definition comparator.h:27
Definition comparator.h:15
Definition comparator.h:39
Definition comparator.h:33