beman::optional::optional::operator=

Resets the optional to an empty state.

Synopsis

Declared in <beman/optional/optional.hpp>
constexpr
optional<T>&
operator=(nullopt_t value) noexcept;


Return Value

Reference to the current object

Parameters

Name Description
value The object to assign from

Created with MrDocs