Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Exchanges the elements of two valarrays.
void swap(valarray& _Right);
Parameters
Parameter |
Description |
|---|---|
_Right |
A valarray providing the elements to be swapped. |
Remarks
The member function swaps the controlled sequences between *this and _Right. It does so in constant time, it throws no exceptions, and it invalidates no references, pointers, or iterators that designate elements in the two controlled sequences.
Requirements
Header: <valarray>
Namespace: std