Constructors

Synopses

Declared in <util/subprocess.h>

Constructs an empty buffer.

constexpr
Buffer() = default;

Constructs a buffer with the given initial storage capacity.

explicit
Buffer(size_t cap);

Parameters

Name

Description

cap

Number of bytes to reserve in the underlying vector.

Created with MrDocs