Namespaces
Variants
Views
Actions

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

From cppreference.com
< cpp‎ | numeric‎ | valarray
m (r2.7.3) (Robot: Adding de, es, fr, it, ja, pt, ru, zh)
m (Shorten template names. Use {{lc}} where appropriate.)
Line 8: Line 8:
  
 
===Parameters===
 
===Parameters===
{{param list begin}}
+
{{begin}}
{{param list item | other | another valarray to swap the contents with}}
+
{{| other | another valarray to swap the contents with}}
{{param list end}}
+
{{end}}
  
 
===Return value===
 
===Return value===

Revision as of 20:50, 31 May 2013

 
 
 
 
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