std::valarray<T>::swap
Min standard notice:
Swaps the contents with those of other.
# Declarations
void swap( valarray& other );
(until C++11)
void swap( valarray& other ) noexcept;
(since C++11)
# Parameters
other: another valarray to swap the contents with
# Return value
(none)