16 #ifndef OPENKALMAN_ELEMENT_GETTABLE_HPP 17 #define OPENKALMAN_ELEMENT_GETTABLE_HPP 28 template<
typename T, std::
size_t N>
29 #ifdef __cpp_lib_concepts 31 interface::get_component_defined_for<T, T, std::array<std::size_t, index_count_v<T>>>;
33 constexpr
bool element_gettable = (N ==
dynamic_size or N >= index_count_v<T>) and
40 #endif //OPENKALMAN_ELEMENT_GETTABLE_HPP The root namespace for OpenKalman.
Definition: basics.hpp:34
constexpr bool element_gettable
Specifies that a type has components addressable by N indices.
Definition: element_gettable.hpp:33
The minimum number of indices need to access all the components of an object.
Definition: index_count.hpp:33
constexpr std::size_t dynamic_size
A constant indicating that a size or index is dynamic.
Definition: global-definitions.hpp:33