Replace the contents of this list with __n copies of __val.
Synopsis
Declared in <bslstp_slist.h>
void
assign(
size_type __n,
_Tp const& __val);
Parameters
Name |
Description |
__n |
number of elements after assignment |
__val |
value copied into each element |
Created with MrDocs