bsl::slist::slist

Create a list from the specified iterator range.

Synopsis

Declared in <bslstp_slist.h>

template<class _InputIterator>
slist(
    _InputIterator __first,
    _InputIterator __last,
    allocator_type const& __a = allocator_type());

Parameters

NameDescription
__firstbeginning of the range to copy
__lastend of the range to copy (exclusive)
__aallocator used to allocate nodes