_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);

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);

Parameters

Name

Description

__first

beginning of the range to assign

__last

end of the range to assign (exclusive)

__not_integral

tag selecting the iterator‐range overload

__n

number of elements after assignment

__val

value copied into each element

__integral

tag selecting the integral overload

Created with MrDocs