16 #ifndef OPENKALMAN_INDEX_COUNT_HPP 17 #define OPENKALMAN_INDEX_COUNT_HPP 32 template<
typename T,
typename =
void>
45 struct
index_count<T,
std::enable_if_t<values::fixed<decltype(count_indices(std::declval<const T&>()))>>>
47 : std::integral_constant<std::size_t, values::fixed_value_of_v<decltype(count_indices(std::declval<const T&>()))>> {};
constexpr auto count_indices(const T &)
Get the number of indices necessary to address all the components of an indexible object...
Definition: count_indices.hpp:51
Definition of count_indices.
The root namespace for OpenKalman.
Definition: basics.hpp:34
constexpr bool fixed
T is a value that is determinable at compile time.
Definition: fixed.hpp:66
The minimum number of indices needed to access all the components of an object (i.e., the rank or order).
Definition: index_count.hpp:34