命名空间
变体
操作

std::layout_stride::mapping<Extents>::extents

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

返回对 extents 对象的常量引用。等价于 return extents_;

目录

[edit] 参数

(无)

[edit] 返回值

对 extents 对象的常量引用。

[edit] 示例

[edit] 参见

获取 extents 对象
(std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy> 的公共成员函数) [edit]