Same as the preceding overload, also requesting at least the specified capacity.

Synopsis

Declared in <bdlc_flathashmap.h>

template<class INPUT_ITERATOR>
FlatHashMap(
    INPUT_ITERATOR first,
    INPUT_ITERATOR last,
    std::size_t capacity,
    bslma::Allocator* basicAllocator = 0);

Parameters

Name

Description

first

beginning of the input range

last

end of the input range (exclusive)

capacity

minimum initial capacity of the underlying array

basicAllocator

allocator used to supply memory

Created with MrDocs