Nullopt assignment operator.
Declared in <beman/optional/optional.hpp>
constexpr
optional<T&>&
operator=(nullopt_t rhs) noexcept;
Destroys the current value if there is one, and leaves the optional in an empty state.
optional&
| Name | Description |
|---|---|
| rhs | Tag indicating the disengaged state. |