An mdspan-like type whose mapping is always strided and exposes stride observers.
More...
template<class MDS>
requires(detail::span_type_t<MDS>
const&
span, std::size_t axis) {
{
} -> std::convertible_to<typename detail::span_type_t<MDS>::index_type>;
{
span.mapping().stride(axis)
} -> std::convertible_to<typename detail::span_type_t<MDS>::index_type>;
}
A readable type implementing the mdspan observers and multidimensional subscript contract.
Definition mdspan/concepts.hpp:291
An mdspan-like type whose mapping is always strided and exposes stride observers.
Definition mdspan/concepts.hpp:406
std::size_t span
Definition presentation.cpp:2017
An mdspan-like type whose mapping is always strided and exposes stride observers.
- Template Parameters
-
| MDS | The mdspan-like type under test. |