bsl::slist::_M_assign_dispatch

_M_assign_dispatch overloads

Synopses

Declared in <bslstp_slist.h>

Assign from the iterator range [__first, __last)].

template<class _InputIter>
void
_M_assign_dispatch(
    _InputIter __first,
    _InputIter __last,
    bsl::false_type* __not_integral);
» more...

Assign __n copies of __val when the iterators are actually integers.

template<class _Integer>
void
_M_assign_dispatch(
    _Integer __n,
    _Integer __val,
    bsl::true_type* __integral);
» more...

Parameters

NameDescription
__firstbeginning of the range to assign
__lastend of the range to assign (exclusive)
__not_integraltag selecting the iterator-range overload
__nnumber of elements after assignment
__valvalue copied into each element
__integraltag selecting the integral overload