beman::optional::optional::emplace

emplace overloads

Synopses

Declared in <beman/optional/optional.hpp>
Constructs the value in-place, destroying the current one if there
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...

Return Value

T&

Template Parameters

Name Description
Args
U

Parameters

Name Description
args
il

Created with MrDocs