Assignment operator.

Synopsis

Declared in <beman/optional/optional.hpp>

constexpr
optional<T&>&
operator=(nullopt_t value) noexcept;

Return Value

optional&

Parameters

Name

Description

value

The object to assign from

Created with MrDocs