di
0.1.0
Loading...
Searching...
No Matches
cmp_greater.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
di/math/intcmp/cmp_less.h
"
4
5
namespace
di::math
{
6
namespace
detail {
7
struct
CmpGreaterFunction {
8
template
<concepts::Integer T, concepts::Integer U>
9
constexpr
auto
operator()(T a, U b)
const
->
bool
{
10
return
cmp_less
(b, a);
11
}
12
};
13
}
14
15
constexpr
inline
auto
cmp_greater
= detail::CmpGreaterFunction {};
16
}
cmp_less.h
di::math
Definition
abs.h:10
di::math::cmp_less
constexpr auto cmp_less
Definition
cmp_less.h:23
di::math::cmp_greater
constexpr auto cmp_greater
Definition
cmp_greater.h:15
di
math
intcmp
cmp_greater.h
Generated by
1.13.2