std::valarray::swap

From cppreference.com
< cpp‎ | numeric‎ | valarray
 
 
 
 
void swap( valarray& other );

Swaps the contents with those of other.

[edit] Parameters

other - another valarray to swap the contents with

[edit] Return value

(none)

[edit] Exceptions

(none) (until C++11)
noexcept specification:  
noexcept
  
(since C++11)