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

Name

Description

__first

beginning of the range to copy

__last

end of the range to copy (exclusive)

__a

allocator used to allocate nodes

Created with MrDocs