16 #ifndef OPENKALMAN_VALUES_VALUE_TYPE_OF_HPP 17 #define OPENKALMAN_VALUES_VALUE_TYPE_OF_HPP 19 #include <type_traits> 30 template<
typename T,
typename =
void>
37 template<
typename T> requires requires(T t) {
to_value_type(t); }
44 using type = std::decay_t<decltype(to_value_type(std::declval<T>()))>;
Obtain the underlying value type associated with a value.
Definition: value_type_of.hpp:32
typename value_type_of< T >::type value_type_of_t
Helper template for value_type_of.
Definition: value_type_of.hpp:52
Definition for values::to_value_type.
decltype(auto) constexpr to_value_type(Arg &&arg)
Convert, if necessary, a fixed or dynamic value to its underlying base type.
Definition: to_value_type.hpp:28
Definition for values::abs.
Definition: fixed-constants.hpp:23