BloombergLP::bdlb::NullableValueRef::operator=

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

Synopsis

Declared in <bdlb_nullablevalueref.h>

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

Description

Reset the target to the default constructed state (i.e., to have the null value).

Return Value

modifiable reference to this object

Parameters

NameDescription
rhsnullopt sentinel indicating a null assignment