std::swap(std::mdspan)
|
Defined in header
<mdspan> |
||
|
friend constexpr void swap( mdspan& x, mdspan& y ) noexcept;
|
(since C++23) | |
Overloads the std::swap algorithm for std::mdspan. Exchanges the state of x with that of y.
Given ptr_, map_, and acc_ as exposition-only data members, equivalent to:
Parameters
| x, y | - | mdspan objects whose states to swap |
Return value
(none)
Example
| This section is incomplete Reason: no example |
See also
| This section is incomplete |