std::flat_multiset<Key,Compare,KeyContainer>:: swap
From cppreference.net
<
cpp
|
container
|
flat multiset
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_multiset
|
void
swap
(
flat_multiset
&
other
)
noexcept
;
|
(desde C++23) | |
other
. Effectively calls
ranges::swap(compare, other.compare); ranges::swap(c, other.c);
Contenidos |
Parámetros
| other | - | 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) |