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