Create a list with __n copies of __x using the specified allocator.

Synopsis

Declared in <bslstp_slist.h>

explicit
slist(
    size_type __n,
    value_type const& __x = _Tp(),
    allocator_type const& __a = allocator_type());

Created with MrDocs