[#beman-optional-optional-03-emplace-08] = xref:beman.adoc[beman]::xref:beman/optional.adoc[optional]::xref:beman/optional/optional-03.adoc[optional]::emplace :relfileprefix: ../../../ :mrdocs: Constructs the value in‐place using the given arguments, destroying the current one if there == Synopsis Declared in `<beman/optional/optional.hpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class U, class... Args> constexpr T& emplace( std::initializer_list<U> il, Args...&&... args); ---- == Return Value T& [.small]#Created with https://www.mrdocs.com[MrDocs]#