bsl::slist::assign

Replace the contents of this list with the range [__first, __last)].

Synopsis

Declared in <bslstp_slist.h>

template<class _InputIterator>
void
assign(
    _InputIterator __first,
    _InputIterator __last);

Parameters

NameDescription
__firstbeginning of the range to assign
__lastend of the range to assign (exclusive)