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