BloombergLP::bdlc::FlatHashSet::FlatHashSet

Create a set having the value of the specified original set.

Synopsis

Declared in <bdlc_flathashset.h>

FlatHashSet(
    FlatHashSet const& original,
    bslma::Allocator* basicAllocator = 0);

Description

Create a FlatHashSet object having the same value, hasher, and equality comparator as the specified original object. Optionally specify a basicAllocator used to supply memory. If basicAllocator is not specified or is 0, the currently installed default allocator is used.

Parameters

NameDescription
originalset to copy
basicAllocatormemory allocator; null uses the default