Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/numeric/valarray/swap"

From cppreference.com
< cpp‎ | numeric‎ | valarray
(+)
 
(fmt)
Line 2: Line 2:
 
{{cpp/numeric/valarray/sidebar}}
 
{{cpp/numeric/valarray/sidebar}}
 
{{ddcl |  
 
{{ddcl |  
void swap( valarray& other);
+
void swap( valarray& other );
 
}}
 
}}
  

Revision as of 11:48, 19 December 2011

Template:cpp/numeric/valarray/sidebar

void swap( valarray& other );

Swaps the contents with those of other.

Parameters

other - another valarray to swap the contents with

Return value

(none)

Exceptions

noexcept specification:  
noexcept