BloombergLP::bdlc::swap

Exchange the contents of the two sets.

Synopsis

Declared in <bdlc_flathashset.h>

void
swap(
    FlatHashSet<K, H, E>& a,
    FlatHashSet<K, H, E>& b);

Parameters

NameDescription
afirst set to exchange
bsecond set to exchange