Return the address of the contained object, or address if null.
Declared in <bdlb_nullablevalue.h>
TYPE const*
addressOr(TYPE const* address) const;
Return an address providing non-modifiable access to the underlying object of a (template parameter) TYPE if this object is non-null, and the specified address otherwise.
address of the underlying object if non-null, and address otherwise
| Name | Description |
|---|---|
| address | fallback address returned when this object is null |