[#absl-StatusOr-emplace-01e1]
= xref:absl.adoc[absl]::xref:absl/StatusOr.adoc[StatusOr]::emplace
:relfileprefix: ../../
:mrdocs:

Reconstructs the held value in&hyphen;place from the given arguments&period;

== Synopsis

Declared in `&lt;absl&sol;status&sol;statusor&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename&period;&period;&period; Args&gt;
T&
emplace(Args&&&period;&period;&period; args);
----

== Description

Reconstructs the inner value T in&hyphen;place using the provided args, using the T(args&period;&period;&period;) constructor&period; Returns reference to the reconstructed `T`&period;

== Return Value

A reference to the reconstructed value&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *args*
| The arguments forwarded to the `T` constructor&period;
|===


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