Scroll to navigation

std::layout_stride::mapping::strides(3) C++ Standard Libary std::layout_stride::mapping::strides(3)

NAME

std::layout_stride::mapping::strides - std::layout_stride::mapping::strides

Synopsis


constexpr std::array<index_type, rank_> strides() const noexcept; (since C++23)


Returns an array of strides of the mapping. Equivalent to return strides_;.

Parameters


(none)

Return value


Array of strides

Example


This section is incomplete
Reason: no example

See also


stride obtains the stride along the specified dimension
(public member function)
obtains the stride along the specified dimension
stride (public member function of
std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>)

Category:


* Todo no example

2024.06.10 http://cppreference.com