std::unordered_map::swap
Aus cppreference.com
<metanoindex/>
<tbody> </tbody> void swap( unordered_map& other ); |
(seit C++11) | |
Exchanges the contents of the container with those of other. All iterators and references remain valid.
The behavior is undefined if get_allocator() != other.get_allocator() and std::allocator_traits<allocator_type>::propagate_on_container_swap::value != true.
Parameter
| other | - | Behälter, um die Inhalte mit auszutauschen
Original: container to exchange the contents with 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.
Ausnahmen
Komplexität
Constant
