Create an empty set that uses the specified basicAllocator.

Synopsis

Declared in <bslstl_set.h>

explicit
set(ALLOCATOR const& basicAllocator);

Description

Use a default‐constructed object of the (template parameter) type COMPARATOR to order the keys contained in this set. Note that a bslma::Allocator * can be supplied for basicAllocator if the (template parameter) type ALLOCATOR is bsl::allocator (the default).

Parameters

Name

Description

basicAllocator

allocator used to supply memory

Created with MrDocs