On this page
std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>::stride
|
(since C++23) |
Returns the stride of the layout mapping map_ in rth dimension. Equivalent to return map_.stride(r);.
Parameters
| r | - | the index of the dimension |
Return value
The stride.
Example
See also
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/container/mdspan/stride