BloombergLP::bdlc::FlatHashTable::swap

Efficiently exchange the value of this table with other.

Synopsis

Declared in <bdlc_flathashtable.h>

void
swap(FlatHashTable& other);

Description

This method provides the no-throw exception-safety guarantee. The behavior is undefined unless this array was created with the same allocator as other.

Parameters

NameDescription
othertable with which to exchange values