命名空间
变体
操作

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

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

返回布局映射 map_ 的 extents 的 const 引用。等同于 return map_.extents();

目录

[编辑] 参数

(无)

[编辑] 返回值

extents 的 const 引用。

[编辑] 示例

[编辑] 参阅