名稱空間
變體
操作

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

來自 cppreference.com
< 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

[編輯] 示例

[編輯] 參閱