16 #ifndef OPENKALMAN_COLLECTIONS_COMMON_COLLECTION_TYPE_HPP 17 #define OPENKALMAN_COLLECTIONS_COMMON_COLLECTION_TYPE_HPP 32 template<
typename T,
typename =
void>
39 template<stdex::ranges::random_access_range T>
46 using type = stdex::ranges::range_value_t<stdex::remove_cvref_t<T>>;
55 template<
typename T, std::size_t...i>
63 template<uniformly_gettable T> requires (not stdex::ranges::random_access_range<T>)
68 std::enable_if_t<uniformly_gettable<T> and not stdex::ranges::random_access_range<T>>>
77 template<collection T>
Namespace for collections.
Definition: collections.hpp:27
Definition for collections::collection.
Definition: common_collection_type.hpp:53
typename common_collection_type< T >::type common_collection_type_t
Helper template for common_collection_type.
Definition: common_collection_type.hpp:81
Definition for collections::size_of.
constexpr bool value
T is a fixed or dynamic value that is reducible to a number.
Definition: value.hpp:45
Definition: common.hpp:102
Basic definitions for OpenKalman as a whole.
The common type within a collection, if it exists.
Definition: common_collection_type.hpp:34
Definition for collections::collection_element.