Scroll to navigation

std::valarray::swap(3) C++ Standard Libary std::valarray::swap(3)

NAME

std::valarray::swap - std::valarray::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)

2022.07.31 http://cppreference.com