std::flat_multimap<Key,T,Compare,KeyContainer,MappedContainer>::swap
From cppreference.com
< cpp | container | flat multimap
Revision as of 00:11, 28 December 2023 by Space Mission (Talk | contribs)
void swap( flat_multimap& other ) noexcept; |
(since C++23) | |
other
. Effectively calls ranges::swap(compare, other.compare); ranges::swap(c.keys, other.c.keys); ranges::swap(c.values, other.c.values);
Contents |
Parameters
other | - | container adaptor to exchange the contents with |
Return value
(none)
Exceptions
(none)
Complexity
Same as underlying container (typically constant).
Example
This section is incomplete Reason: no example |
See also
specializes the std::swap algorithm (function template) |