bsl::list::list

Create an empty list.

Synopsis

Declared in <bslstl_list.h>

list();

Description

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.