beman::optional::optional::operator=

Resets the optional to an empty state.

Synopsis

Declared in <beman/optional/optional.hpp>

constexpr
optional<T>&
operator=(nullopt_t rhs) noexcept;

Return Value

*this.

Parameters

NameDescription
rhsTag indicating the disengaged state.