Reset this object to be disengaged and return a reference providing modifiable access to this object. This assignment operator can be called in constant expressions only when t_TYPE is not allocator‐aware.

Synopsis

Declared in <bslstl_optional.h>

constexpr
optional<t_TYPE>&
operator=(bsl::nullopt_t) noexcept;

Created with MrDocs