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

Name

Description

rhs

Tag indicating the disengaged state.

Created with MrDocs