Constructors
Synopses
Declared in <bslstp_slist.h>
Create a list as a copy of the specified list.
slist(_Self const& __x);
Create an empty list using the specified allocator.
explicit
slist(allocator_type const& __a = allocator_type());
Create a list as a copy of __x using the specified allocator.
slist(
_Self const& __x,
allocator_type const& __a);
Create a list with __n copies of __x using the specified allocator.
explicit
slist(
size_type __n,
value_type const& __x = _Tp(),
allocator_type const& __a = allocator_type());
Create a list from the specified iterator range.
template<class _InputIterator>
slist(
_InputIterator __first,
_InputIterator __last,
allocator_type const& __a = allocator_type());
Created with MrDocs