A workalike for std::span from C++20 (only dynamic-extent, without ranges support). More...
Public Member Functions | |
template<class C , class = std::enable_if_t<std::is_convertible_v< std::remove_pointer_t<decltype(void(std::size(std::declval<C &&>())), std::data(std::declval<C &&>()))> (*)[], T(*)> > > | |
constexpr | span (C &&c) |
A workalike for std::span from C++20 (only dynamic-extent, without ranges support).
This class is supported for GPU execution.
|
constexpr |