Ensures capacity for at least new_capacity elements without changing the size.

Synopsis

Declared in <prevector.h>

void
reserve(size_type new_capacity);

Parameters

Name

Description

new_capacity

The minimum capacity to guarantee.

Created with MrDocs