std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>::operator= - cppreference.com (original) (raw)
| Defined in header | ||
|---|---|---|
| constexpr mdspan& operator=( const mdspan& rhs ) = default; | (1) | (since C++23) |
| constexpr mdspan& operator=( mdspan&& rhs ) = default; | (2) | (since C++23) |
Assigns rhs to *this with
[edit] Parameters
| other | - | another mdspan to copy or move from |
|---|
[edit] Return value
*this