table of contents
| std::layout_stride::mapping::stride(3) | C++ Standard Libary | std::layout_stride::mapping::stride(3) |
NAME¶
std::layout_stride::mapping::stride - std::layout_stride::mapping::stride
Synopsis¶
constexpr index_type stride(rank_type i) const noexcept; (since C++23)
Returns the stride of the mapping at a rank index i. Equivalent to return strides_[i];
Parameters¶
i - a rank index in the range [0, rank_)
Return value¶
The stride at a specified rank index.
Example¶
This section is incomplete
Reason: no example
See also¶
strides obtains the array of strides
(public member function) stride obtains the stride along the specified
dimension
(public member function of
std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>)
| 2026.11.10 | http://cppreference.com |