Assignment operators
Synopses
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.
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);
Reset this object to the default constructed state (i.e., to have the null value).
NullableAllocatedValue<TYPE>&
operator=(bsl::nullopt_t const& nullopt);
Return Value
reference providing modifiable access to this object
Parameters
Name |
Description |
rhs |
right‐hand operand |
nullopt |
disengaged‐optional tag; value is unused |
Created with MrDocs