Spec-Zone.ru › C++

std::layout_right::mapping<Extents>::stride

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

See also

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

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/cpp/container/mdspan/layout_right/mapping/required_span_size

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API