Namespaces
Variants
Views
Actions

std::valarray<T>::swap

From cppreference.com
< cpp‎ | numeric‎ | valarray
Revision as of 18:20, 26 August 2013 by P12 (Talk | contribs)

 
 
 
 
void swap( valarray& other );

Swaps the contents with those of other.

Parameters

other - another valarray to swap the contents with

Return value

(none)

Exceptions

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