Create an empty list. Use the specified basicAllocator to supply memory. If the type ALLOCATOR is bsl::allocator (the default), then basicAllocator shall be convertible to bslma::Allocator *.
basicAllocator
ALLOCATOR
bsl::allocator
bslma::Allocator *
Declared in <bslstl_list.h>
<bslstl_list.h>
explicit list(ALLOCATOR const& basicAllocator);