BloombergLP::bdlc::FlatHashSet::FlatHashSet

Create a set by moving from the specified original set.

Synopsis

Declared in <bdlc_flathashset.h>

FlatHashSet(bslmf::MovableRef<FlatHashSet> original);

Description

Create a FlatHashSet object having the same value, hasher, equality comparator, and allocator as the specified original object. The contents of original are moved (in constant time) to this object, original is left in a (valid) unspecified state, and no exceptions will be thrown.

Parameters

NameDescription
originalset to move from