命名空间
变体
操作

std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>::operator=

来自 cppreference.cn
< cpp‎ | 容器‎ | mdspan
 
 
 
 
定义于头文件 <mdspan>
constexpr mdspan& operator=( const mdspan& rhs ) = default;
(1) (C++23 起)
constexpr mdspan& operator=( mdspan&& rhs ) = default;
(2) (C++23 起)

rhs 赋值给 *this,通过

目录

[编辑] 参数

其他 - 另一个要复制或移动的 mdspan

[编辑] 返回值

*this

[编辑] 示例

[编辑] 参阅