◐ Shell
clean mode source ↗

std::swap(std::valarray) – cppreference.com

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

template< class T > void swap( valarray<T> &lhs, valarray<T> &rhs );

Spezialisiert die std::swap Algorithmus für std::valarray. Tauscht die Inhalte lhs und rhs. Anrufe lhs.swap(rhs) .

Original:

Specializes the std::swap algorithm for std::valarray. Swaps the contents of lhs and rhs. Calls lhs.swap(rhs).

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Parameter

lhs, rhs -

valarrays deren Inhalte zu tauschen

Original:

valarrays whose contents to swap

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Rückgabewert

(None)

Original:

(none)

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Komplexität

Constant .

Original:

Constant.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Siehe auch

Swaps mit anderen valarray

Original:

swaps with another valarray

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(öffentliche Elementfunktion) [edit]