Scroll to navigation

std::layout_left::mapping::stride(3) C++ Standard Libary std::layout_left::mapping::stride(3)

NAME

std::layout_left::mapping::stride - std::layout_left::mapping::stride

Synopsis

constexpr index_type required_span_size() const noexcept; (since C++23)

Returns the required size of the mapping.

Equivalent to return extents().fwd-prod-of-extents(extents_type::rank());.

Return value

The required size of the mapping.

Example


This section is incomplete
Reason: no example

See also

required_span_size returns the required size of the mapping
(public member function of std::layout_right::mapping<Extents>) required_span_size returns the required size of the mapping
(public member function of std::layout_stride::mapping<Extents>)
returns the size of the multidimensional index space size (public member function of
std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>)

2026.11.10 http://cppreference.com