BloombergLP::bdlb::NullableValueRef::value

Return a non-modifiable reference to the underlying value.

Synopsis

Declared in <bdlb_nullablevalueref.h>

bdlb::NullableValueRef<TYPE>::value_type const&
value() const;

Description

Return a reference providing non-modifiable access to the underlying object of a (template parameter) TYPE. The behavior is undefined if the target has no value.

Return Value

modifiable reference to the underlying TYPE object