BloombergLP::bdlb::NullableValueRef::operator=

Assignment operators

Synopses

Declared in <bdlb_nullablevalueref.h>

Assign rhs to the target and return this object.

bdlb::NullableValueRef<TYPE>&
operator=(NullableValueRef const& rhs);
» more...

Assign rhs to the target and return this object.

bdlb::NullableValueRef<TYPE>&
operator=(TYPE const& rhs);
» more...

Reset the target to the null value and return this object.

bdlb::NullableValueRef<TYPE>&
operator=(bsl::nullopt_t const& rhs);
» more...

Assign rhs to the target and return this object.

bdlb::NullableValueRef<TYPE>&
operator=(NullableAllocatedValue<TYPE> const& rhs);
» more...

Assign rhs to the target and return this object.

bdlb::NullableValueRef<TYPE>&
operator=(bsl::optional<TYPE> const& rhs);
» more...

Return Value

modifiable reference to this object

Parameters

NameDescription
rhsnullable wrapper whose value is assigned