[#bsl-slist-assign-05] = xref:bsl.adoc[bsl]::xref:bsl/slist.adoc[slist]::assign :relfileprefix: ../../ :mrdocs: `assign` overloads == Synopses Declared in `<bslstp_slist.h>` Replace the contents of this list with `__n` copies of `__val`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:bsl/slist/assign-0b.adoc[assign]( xref:bsl/slist/size_type.adoc[size_type] __n, _Tp const& __val); ---- [.small]#xref:bsl/slist/assign-0b.adoc[_» more..._]# Replace the contents of this list with the range `[__first, __last)]`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class _InputIterator> void xref:bsl/slist/assign-07.adoc[assign]( _InputIterator __first, _InputIterator __last); ---- [.small]#xref:bsl/slist/assign-07.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#