命名空间
变体
操作

std::layout_right::mapping<Extents>::extents

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

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

目录

[edit] 参数

(无)

[edit] 返回值

到 extents 对象的常量引用。

[edit] 示例

[edit] 参见

获取 extents 对象
(public member function of std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>) [编辑]