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

Name

Description

comparator

key‐comparison functor

basicAllocator

allocator used to supply memory

Created with MrDocs