Constructs the value in‐place using the given arguments, destroying the current one if there

Synopsis

Declared in <beman/optional/optional.hpp>

template<
    class U,
    class... Args>
constexpr
T&
emplace(
    std::initializer_list<U> il,
    Args...&&... args);

Return Value

T&

Template Parameters

Name

Description

U

Args

Parameters

Name

Description

il

args

Created with MrDocs