std::valarray<T>::swap (3) - Linux Manuals

std::valarray<T>::swap: std::valarray<T>::swap

NAME

std::valarray<T>::swap - std::valarray<T>::swap

Synopsis


void swap( valarray& other ); (until C++11)
void swap( valarray& other ) noexcept; (since C++11)


Swaps the contents with those of other.

Parameters


other - another valarray to swap the contents with

Return value


(none)