BloombergLP::bdlc::swap

Exchange the contents of the two maps.

Synopsis

Declared in <bdlc_flathashmap.h>

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

Parameters

NameDescription
afirst map
bsecond map