std::flat_map<Key,T,Compare,KeyContainer,MappedContainer>:: swap
From de.cppreference.net
|
void
swap
(
flat_map
&
other
)
noexcept
;
|
(seit C++23) | |
other
. Effectively calls
ranges::swap(compare, other.compare); ranges::swap(c.keys, other.c.keys); ranges::swap(c.values, other.c.values);
InhaltsverzeichnisParameter
KomplexitätGleich wie zugrunde liegender Container (typischerweise konstant). Beispiel
Siehe auch
|