Assignment operators
Declared in <bdlb_nullableallocatedvalue.h>
Assign to this object the value of the specified rhs, and return a reference providing modifiable access to this object.
NullableAllocatedValue<TYPE>&
operator=(NullableAllocatedValue const& rhs);
» more...
Assign to this object the value of the specified rhs, and return a reference providing modifiable access to the underlying TYPE object.
NullableAllocatedValue<TYPE>&
operator=(TYPE const& rhs);
» more...
Reset this object to the default constructed state (i.e., to have the null value).
NullableAllocatedValue<TYPE>&
operator=(bsl::nullopt_t const& nullopt);
» more...
reference providing modifiable access to this object
| Name | Description |
|---|---|
| rhs | right-hand operand |
| nullopt | disengaged-optional tag; value is unused |