std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>::operator=
来自 cppreference.cn
定义于头文件 <mdspan> |
||
constexpr mdspan& operator=( const mdspan& rhs ) = default; |
(1) | (自 C++23 起) |
constexpr mdspan& operator=( mdspan&& rhs ) = default; |
(2) | (自 C++23 起) |
将 rhs 赋值给 *this,使用
1) 默认复制赋值运算符,
2) 默认移动赋值运算符。
内容 |
[编辑] 参数
other | - | 要复制或移动来源的另一个 mdspan |
[编辑] 返回值
*this
[编辑] 示例
本节尚不完整 原因:没有示例 |
[编辑] 参见
本节尚不完整 |