命名空间
变体
操作

std::layout_left::mapping<Extents>::extents

来自 cppreference.cn
< cpp‎ | container‎ | mdspan‎ | layout left‎ | mapping
 
 
 
 
 
constexpr const extents_type& extents() const noexcept;
(自 C++23 起)

返回到 extent 对象的常量引用。等效于 return extents_;

内容

[编辑] 参数

(无)

[编辑] 返回值

到 extent 对象的常量引用。

[编辑] 示例

[编辑] 参见

获取 extent 对象
(std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy> 的公有成员函数) [编辑]