[#absl-StatusOr-emplace-01e1] = xref:absl.adoc[absl]::xref:absl/StatusOr.adoc[StatusOr]::emplace :relfileprefix: ../../ :mrdocs: Reconstructs the held value in‐place from the given arguments. == Synopsis Declared in `<absl/status/statusor.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename... Args> T& emplace(Args&&... args); ---- == Description Reconstructs the inner value T in‐place using the provided args, using the T(args...) constructor. Returns reference to the reconstructed `T`. == Return Value A reference to the reconstructed value. == Parameters [cols="1,4"] |=== | Name| Description | *args* | The arguments forwarded to the `T` constructor. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#