Create an empty list that uses the specified basicAllocator.

Synopsis

Declared in <bslstl_list.h>

explicit
list(ALLOCATOR const& basicAllocator);

Description

If the type ALLOCATOR is bsl::allocator (the default), then basicAllocator shall be convertible to bslma::Allocator *.

Parameters

Name

Description

basicAllocator

allocator used to supply memory

Created with MrDocs