Create a table having the same value as the specified original.

Synopsis

Declared in <bdlc_flathashtable.h>

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

Description

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

Parameters

Name

Description

original

table to copy

basicAllocator

allocator used to supply memory

Created with MrDocs