bsl::set::set

Create an empty set using the specified comparator and basicAllocator.

Synopsis

Declared in <bslstl_set.h>

explicit
set(
    COMPARATOR const& comparator,
    ALLOCATOR const& basicAllocator = ALLOCATOR());

Parameters

NameDescription
comparatorkey-comparison functor
basicAllocatorallocator used to supply memory