Namespaces
Variants
Views
Actions

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

From cppreference.com
< cpp‎ | numeric‎ | valarray
(noexcetp)
m (Text replace - "{{noexcept" to "{{unreviewed noexcept")
Line 18: Line 18:
 
{{rev begin}}
 
{{rev begin}}
 
{{rev | until=c++11 | (none)}}
 
{{rev | until=c++11 | (none)}}
{{rev | since=c++11 | {{noexcept}}}}
+
{{rev | since=c++11 | {{noexcept}}}}
 
{{rev end}}
 
{{rev end}}
  

Revision as of 12:44, 31 March 2017

 
 
 
 
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)