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) stride obtains the stride along the specified dimension
(public member function of std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>)

2026.11.10 http://cppreference.com