Assignment operator. Synopsis Declared in <beman/optional/optional.hpp> constexpr optional& operator=(optional const& rhs) noexcept = default; Description If rhs has a value, assigns it to the contained value. Otherwise resets the contained value in *this. Return Value optional& Parameters Name Description rhs The value to assign.