命名空间
变体
操作

std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>::extents

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

返回对布局映射 map_ 的 extent 的常量引用。等价于 return map_.extents();

目录

[编辑] 参数

(无)

[编辑] 返回值

extent 的常量引用。

[编辑] 示例

[编辑] 参见