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