Exchange the contents of the two maps.
Synopsis
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);
|
Note
|
This function is a hidden friend of FlatHashMap, declared only inside that class: it can be found only through argument-dependent lookup. |
Parameters
Name |
Description |
a |
first map |
b |
second map |
Created with MrDocs