bsl::list::list

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

NameDescription
basicAllocatorallocator used to supply memory