Create a list from the specified iterator range.
Declared in <bslstp_slist.h>
template<class _InputIterator>
slist(
_InputIterator __first,
_InputIterator __last,
allocator_type const& __a = allocator_type());
| Name | Description |
|---|---|
| __first | beginning of the range to copy |
| __last | end of the range to copy (exclusive) |
| __a | allocator used to allocate nodes |