std::swap(std::array) – cppreference.com
Aus cppreference.com
<metanoindex/>
Vorlagenschleife entdeckt: Vorlage:include page
<tbody> </tbody>
|
|
(seit C++11) | |
Spezialisiert die std::swap Algorithmus für std::array. Tauscht die Inhalte lhs und rhs. Anrufe lhs.swap(rhs) .
Original:
Specializes the std::swap algorithm for std::array. 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 | - | Behälter, deren Inhalt zu tauschen Original: containers whose contents to swap The text has been machine-translated via Google Translate. |
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
Linear in size of the container.
Siehe auch
tauscht die Inhalte Original: swaps the contents The text has been machine-translated via Google Translate. (öffentliche Elementfunktion) [edit] | |