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