BloombergLP::bdlb::NullableAllocatedValue::valueOrNull

Return an address providing non-modifiable access to the underlying object of a (template parameter) TYPE if this object is non-null, and 0 otherwise.

Synopsis

Declared in <bdlb_nullableallocatedvalue.h>

TYPE const*
valueOrNull() const;