Same as the preceding overload, also requesting at least the specified capacity.
Declared in <bdlc_flathashset.h>
template<class INPUT_ITERATOR>
FlatHashSet(
INPUT_ITERATOR first,
INPUT_ITERATOR last,
std::size_t capacity,
bslma::Allocator* basicAllocator = 0);
| Name | Description |
|---|---|
| first | beginning of the input range |
| last | end of the input range (exclusive) |
| capacity | minimum initial capacity of the underlying array |
| basicAllocator | memory allocator; null uses the default |