Constructs a buffer with the given initial storage capacity.

Synopsis

Declared in <util/subprocess.h>

explicit
Buffer(size_t cap);

Parameters

Name

Description

cap

Number of bytes to reserve in the underlying vector.

Created with MrDocs