[#subprocess-Buffer-2constructor-0f]
= xref:subprocess.adoc[subprocess]::xref:subprocess/Buffer.adoc[Buffer]::Buffer
:relfileprefix: ../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;util&sol;subprocess&period;h&gt;`

Constructs an empty buffer&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:subprocess/Buffer/2constructor-05.adoc[Buffer]() = default;
----

[.small]#xref:subprocess/Buffer/2constructor-05.adoc[_» more&period;&period;&period;_]#

Constructs a buffer with the given initial storage capacity&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:subprocess/Buffer/2constructor-0c.adoc[Buffer](size&lowbar;t cap);
----

[.small]#xref:subprocess/Buffer/2constructor-0c.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *cap*
| Number of bytes to reserve in the underlying vector&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
