16 #ifndef OPENKALMAN_DYNAMIC_INDEX_COUNT_HPP 17 #define OPENKALMAN_DYNAMIC_INDEX_COUNT_HPP 26 template<
typename T, std::size_t...I>
29 return ((index_dimension_of_v<T, I> == stdex::dynamic_extent ? 1 : 0) + ... + 0);
41 template<
typename T,
typename =
void>
57 : std::integral_constant<std::size_t, detail::dynamic_index_count_impl<T>(std::make_index_sequence<index_count_v<T>> {})> {};
Counts the number of indices of T in which the dimensions are dynamic.
Definition: dynamic_index_count.hpp:43
The root namespace for OpenKalman.
Definition: basics.hpp:34
Definition for index_dimension_of.
Definition for index_count.
Definition: trait_backports.hpp:64