Constructs the value in-place, destroying the current one if there
Declared in <beman/optional/optional.hpp>
template<class... Args>
constexpr
T&
emplace(Args&&... args);
Constructs the value in-place, destroying the current one if there is one.
T&
| Name | Description |
|---|---|
| args | The argument list to use in emplacement construction. |