Luna::Array::swap

constexpr void swap(Array &rhs)

Swaps content of this array with another array of the same element type and size.

Parameters

  • in rhs

    The array to swap content with.