[#subprocess-string_arg-2constructor-00]
= xref:subprocess.adoc[subprocess]::xref:subprocess/string_arg.adoc[string&lowbar;arg]::string&lowbar;arg
:relfileprefix: ../../
:mrdocs:

Constructors

== Synopses

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

Stores a copy of a string argument&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:subprocess/string_arg/2constructor-06.adoc[string&lowbar;arg](std::string const& arg);
----

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

Takes ownership of a string argument by moving it&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:subprocess/string_arg/2constructor-07.adoc[string&lowbar;arg](std::string&& arg);
----

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

Stores a copy of a C string argument&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:subprocess/string_arg/2constructor-03.adoc[string&lowbar;arg](char const* arg);
----

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *arg*
| Argument value to store&period;
|===


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