Skip to content

Search topics & cppreference

Search all study topics, concept maps, and 6,587 C++ and C reference pages.

std::layout_left::mapping<Extents>::stride

Returns the required size of the mapping.

NotebookLM
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

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

Content from this page on cppreference.com, licensed under CC-BY-SA 3.0 and GFDL. Modified: restyled, site navigation removed, code windows added. Offline snapshot of 9 February 2025.