17 #ifndef OPENKALMAN_VALUE_CLASSES_FIXED_HPP 18 #define OPENKALMAN_VALUE_CLASSES_FIXED_HPP 32 template<
values::value C,
auto...constant> requires std::bool_constant<(C{constant...},
true)>::
value 34 template<typename C, auto...constant>
41 using value_type = std::decay_t<decltype(value)>;
47 constexpr
operator value_type()
const {
return value; }
50 constexpr value_type operator()()
const {
return value; }
53 constexpr
Fixed() =
default;
61 explicit constexpr
Fixed(
const T&) {};
69 constexpr
Fixed& operator=(
const T&) {
return *
this; }
79 template<values::fixed T>
81 template<
typename T, std::enable_if_t<values::fixed<T>,
int> = 0>
89 #endif //OPENKALMAN_VALUE_CLASSES_FIXED_HPP Definition for values::to_number.
constexpr bool value
T is numerical value or is reducible to a numerical value.
Definition: value.hpp:31
constexpr auto to_number(Arg arg)
Convert any values::value to a values::number.
Definition: to_number.hpp:34
Definition for values::abs.
Definition: constant_coefficient.hpp:25