Scroll to navigation

std::mdspan::stride(3) C++ Standard Libary std::mdspan::stride(3)

NAME

std::mdspan::stride - std::mdspan::stride

Synopsis


constexpr index_type stride( rank_type r ) const; (since C++23)


Returns the stride of the layout mapping map_ in r^th dimension. Equivalent to
return map_.stride(r);.

Parameters


r - the index of the dimension

Return value


The stride.

Example


This section is incomplete
Reason: no example

See also


This section is incomplete

Categories:


* Todo no example
* Todo without reason

2024.06.10 http://cppreference.com