Create an empty list. A default-constructed object of the (template parameter) type ALLOCATOR is used. If the type ALLOCATOR is bsl::allocator, the currently installed default allocator is used.
ALLOCATOR
bsl::allocator
Declared in <bslstl_list.h>
<bslstl_list.h>
list();