16 #ifndef OPENKALMAN_COLLECTIONS_SIZED_HPP 17 #define OPENKALMAN_COLLECTIONS_SIZED_HPP 19 #include <type_traits> 27 #ifdef __cpp_lib_ranges 29 concept sized = std::ranges::sized_range<T> or requires { std::tuple_size<std::decay_t<T>>
::value; };
31 namespace detail_sized
33 template<
typename T,
typename =
void>
37 struct has_tuple_size<T,
std::void_t<decltype(std::tuple_size<std::decay_t<T>>::value)>> : std::true_type {};
46 using detail_sized::sized;
Namespace for collections.
Definition: collections.hpp:27
constexpr bool value
T is a fixed or dynamic value that is reducible to a number.
Definition: value.hpp:45
Basic definitions for OpenKalman as a whole.