emplace
overloads
<beman/optional/optional.hpp>
template<class... Args>
constexpr
T&
emplace(Args...&&... args);
» more...
Constructs the value in-place using the given arguments, destroying the current one if there
template<
class U,
class... Args>
constexpr
T&
emplace(
std::initializer_list<U> il,
Args...&&... args);
» more...
Name | Description |
---|---|
Args | |
U |
Name | Description |
---|---|
args | |
il |