16 #ifndef OPENKALMAN_VALUE_DYNAMIC_HPP 17 #define OPENKALMAN_VALUE_DYNAMIC_HPP 19 #include <type_traits> 25 #ifndef __cpp_concepts 30 template<
typename T,
typename =
void>
34 struct is_dynamic<T,
std::enable_if_t<values::number<typename std::invoke_result<T>::type>>>
46 concept
dynamic = (not values::fixed<T>) and (values::number<T> or requires(std::decay_t<T> t){ {t()} ->
values::number; });
48 constexpr
bool dynamic =
55 #endif //OPENKALMAN_VALUE_DYNAMIC_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: dynamic.hpp:31
Definition for values::abs.
Definition: constant_coefficient.hpp:25
constexpr bool dynamic
T is a values::value that is not determinable at compile time.
Definition: dynamic.hpp:48
Definition for values::number.