Resize the unread region to n elements, filling new ones with c.

Synopsis

Declared in <streams.h>

void
resize(
    size_type n,
    value_type c = value_type{});

Parameters

Name

Description

n

New number of unread elements.

c

Value used to fill any newly added elements.

Created with MrDocs