di 0.1.0
Loading...
Searching...
No Matches
representable_as.h
Go to the documentation of this file.
1#pragma once
2
6
7namespace di::math {
8namespace detail {
9 template<concepts::Integer T>
10 struct RepresentableAsFunction {
11 template<concepts::Integer U>
12 constexpr auto operator()(U value) const -> bool {
14 }
15 };
16}
17
18template<concepts::Integer T>
19constexpr inline auto representable_as = detail::RepresentableAsFunction<T> {};
20}
21
22namespace di {
24}
Definition abs.h:10
constexpr auto cmp_less_equal
Definition cmp_less_equal.h:15
constexpr auto representable_as
Definition representable_as.h:19
constexpr auto cmp_greater_equal
Definition cmp_greater_equal.h:15
Definition any_storable.h:9
static constexpr T min
Definition numeric_limits.h:12
static constexpr T max
Definition numeric_limits.h:11