std::swap(std::unordered_map)
Aus cppreference.com
<metanoindex/>
Vorlagenschleife entdeckt: Vorlage:include page
<tbody> </tbody> template< > void swap( unordered_map<> &lhs, unordered_map<> &rhs ); |
(seit C++11) | |
Spezialisiert die std::swap Algorithmus für
std::unordered_map. Tauscht die Inhalte lhs und rhs. Anrufe lhs.swap(rhs) .Original:
Specializes the std::swap algorithm for
std::unordered_map. 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.
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. 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.
You can help to correct and verify the translation. Click here for instructions.
Komplexität
Constant.
