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;

Return Value

address of the contained value, or 0 if null

Created with MrDocs