Create an empty set using the specified comparator and basicAllocator.
Declared in <bslstl_set.h>
explicit
set(
COMPARATOR const& comparator,
ALLOCATOR const& basicAllocator = ALLOCATOR());
| Name | Description |
|---|---|
| comparator | key-comparison functor |
| basicAllocator | allocator used to supply memory |