Replaces the contents with n copies of val.
Synopsis
Declared in <prevector.h>
void
assign(
size_type n,
T const& val);
Parameters
Name |
Description |
n |
The number of copies to store. |
val |
The value to copy into each element. |
Created with MrDocs