Exchange the contents of the two maps.
Declared in <bdlc_flathashmap.h>
template<
class K,
class V,
class H,
class E>
void
swap(
FlatHashMap<K, V, H, E>& a,
FlatHashMap<K, V, H, E>& b);
This function is a hidden friend of FlatHashMap, declared only inside that class: it can be found only through argument-dependent lookup.
| Name | Description |
|---|---|
| a | first map |
| b | second map |