std::{{{1}}}::swap
From cppreference.com
Template:cpp/container//sidebar
void swap( {{{1}}}& other ); |
Template:cpp/container/mark c++11 feature | |
Exchanges the contents of the container with those of other
. All iterators and references remain valid.
Contents |
Parameters
other | - | container to exchange the contents with |
Return value
(none)
Exceptions
noexcept specification:
noexcept
Complexity
Constant