16 #ifndef OPENKALMAN_VALUE_FIXED_HPP 17 #define OPENKALMAN_VALUE_FIXED_HPP 22 #include <type_traits> 27 #ifndef __cpp_concepts 32 template<
typename T,
typename =
void>
38 template<
typename T,
typename =
void>
53 concept
fixed = std::default_initializable<std::decay_t<T>> and
56 {std::decay_t<T>{}()} ->
number;
57 typename std::bool_constant<(std::decay_t<T>{}(),
true)>;
60 constexpr
bool fixed = std::is_default_constructible_v<std::decay_t<T>> and
67 #endif //OPENKALMAN_VALUE_FIXED_HPP
constexpr bool number
T is a numerical type.
Definition: number.hpp:33
Definition: tuple_reverse.hpp:103
constexpr bool value
T is numerical value or is reducible to a numerical value.
Definition: value.hpp:31
Definition for values::abs.
Definition: constant_coefficient.hpp:25
constexpr bool fixed
T is a values::value that is determinable at compile time.
Definition: fixed.hpp:60
Definition for values::number.