Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Exchanges the elements of two valarrays.
template<class Type>
void swap(
valarray<Type>& _Left,
valarray<Type>& _Right
);
Parameters
Parameter |
Description |
---|---|
_Left |
An object of type valarray. |
_Right |
An object of type valarray. |
Remarks
The template function executes _Left.swap(_Right).
Requirements
Header: <valarray>
Namespace: std