16 #ifndef OPENKALMAN_COLLECTIONS_VIEWABLE_COLLECTION_HPP 17 #define OPENKALMAN_COLLECTIONS_VIEWABLE_COLLECTION_HPP 19 #ifdef __cpp_lib_ranges 33 #ifdef __cpp_lib_ranges 35 (std::ranges::view<std::remove_cvref_t<T>> or std::ranges::viewable_range<T>)) or uniform_tuple_like<T>;
37 constexpr
bool viewable_collection = (ranges::random_access_range<T> and
38 (ranges::view<remove_cvref_t<T>> or ranges::viewable_range<T>)) or uniform_tuple_like<T>;
44 #endif //OPENKALMAN_COLLECTIONS_VIEWABLE_COLLECTION_HPP Namespace for collections.
Definition: collections.hpp:27
constexpr bool viewable_collection
A std::range or uniform_tuple_like object that can be converted into a collection_view by passing it ...
Definition: viewable_collection.hpp:37