std::flat_multimap<Key,T,Compare,KeyContainer,MappedContainer>:: swap
From 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
;
|
(desde C++23) | |
other
. Effectively calls
ranges::swap(compare, other.compare); ranges::swap(c.keys, other.c.keys); ranges::swap(c.values, other.c.values);
Contenidos |
Parámetros
| otro | - | adaptador de contenedor para intercambiar el contenido con |
Valor de retorno
(ninguno)
Excepciones
(ninguno)
Complejidad
Igual que el contenedor subyacente (normalmente constante).
Ejemplo
|
Esta sección está incompleta
Razón: sin ejemplo |
Véase también
|
(C++23)
|
especializa el algoritmo
std::swap
(plantilla de función) |