名前空間
変種
操作

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

From cppreference.com
< cpp‎ | container‎ | mdspan‎ | layout left‎ | mapping
 
 
 
 
 
constexpr index_type required_span_size() const noexcept;
(C++23から)

マッピングに必要なサイズを返します。

return extents().fwd-prod-of-extents(extents_type::rank());と同等です。

[編集] 戻り値

マッピングに必要なサイズ。

[編集]

[編集] 関連項目

マッピングに必要なサイズを返します。
(std::layout_right::mapping<Extents> の public メンバ関数) [編集]
マッピングに必要なサイズを返します。
(std::layout_stride::mapping<Extents> の public メンバ関数) [編集]
多次元インデックス空間のサイズを返す
(std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy> の public メンバ関数) [編集]
English 日本語 中文(简体) 中文(繁體)