Replaces the contents with n copies of val.

Synopsis

Declared in <prevector.h>

void
assign(
    size_type n,
    unsigned char const& val);

Parameters

Name

Description

n

The number of copies to store.

val

The value to copy into each element.

Created with MrDocs