[ Web Proxy ]
URL:
Viewing: https://en.cppreference.com/cpp/numeric/valarray/swap [Back]  [Original]

std::valarray<T>::swap - cppreference.com
cppreference.com
Namespaces
Variants

std::valarray<T>::swap

From cppreference.com
 
 
 
 
void swap( valarray& other );
(until C++11)
void swap( valarray& other ) noexcept;
(since C++11)

Swaps the contents with those of other.

Parameters

other - another valarray to swap the contents with

Return value

(none)


Web Proxy Viewer  |  New URL  |  Original Page