[#beman-optional-optional-03-emplace-04] = xref:beman.adoc[beman]::xref:beman/optional.adoc[optional]::xref:beman/optional/optional-03.adoc[optional]::emplace :relfileprefix: ../../../ :mrdocs: Constructs the value in‐place, destroying the current one if there == Synopsis Declared in `<beman/optional/optional.hpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class... Args> constexpr T& emplace(Args...&&... args); ---- == Description Constructs the value in‐place, destroying the current one if there is one. == Return Value T& == Template Parameters [cols=2] |=== | Name | Description | *Args* | |=== == Parameters [cols=2] |=== | Name | Description | *args* | |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#