[#beman-optional-optional-03-operator_assign-0f] = xref:beman.adoc[beman]::xref:beman/optional.adoc[optional]::xref:beman/optional/optional-03.adoc[optional]::operator= :relfileprefix: ../../../ :mrdocs: Resets the optional to an empty state. == Synopsis Declared in `<beman/optional/optional.hpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:beman/optional/optional-03.adoc[optional<T>]& operator=(xref:beman/optional/nullopt_t.adoc[nullopt_t] rhs) noexcept; ---- == Return Value `*this`. == Parameters [cols="1,4"] |=== | Name| Description | *rhs* | Tag indicating the disengaged state. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#