std::flat_multimap<Key,T,Compare,KeyContainer,MappedContainer>:: swap
From fr.cppreference.net
<
cpp
|
container
|
flat multimap
C++
Containers library
|
(C++17)
|
||||
| Sequence | ||||
|
(C++11)
|
||||
|
(C++26)
|
||||
|
(C++26)
|
||||
|
(C++11)
|
||||
| Associative | ||||
| Unordered associative | ||||
|
(C++11)
|
||||
|
(C++11)
|
||||
|
(C++11)
|
||||
|
(C++11)
|
||||
| Adaptors | ||||
|
(C++23)
|
||||
|
(C++23)
|
||||
|
(C++23)
|
||||
|
(C++23)
|
||||
| Views | ||||
|
(C++20)
|
||||
|
(C++23)
|
||||
| Tables | ||||
| Iterator invalidation | ||||
| Member function table | ||||
| Non-member function table |
std::flat_multimap
|
void
swap
(
flat_multimap
&
other
)
noexcept
;
|
(depuis C++23) | |
other
. Effectively calls
ranges::swap(compare, other.compare); ranges::swap(c.keys, other.c.keys); ranges::swap(c.values, other.c.values);
ContenuParamètres
ComplexitéIdentique au conteneur sous-jacent (généralement constant). Exemple
Voir aussi
|