[#BloombergLP-bdlb-NullableAllocatedValue-addressOr] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/NullableAllocatedValue.adoc[NullableAllocatedValue]::addressOr :relfileprefix: ../../../ :mrdocs: Return the address of the contained value, or `address` if null. == Synopsis Declared in `<bdlb_nullableallocatedvalue.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- TYPE const* addressOr(TYPE const* address) const; ---- == Description 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. == Return Value address of the contained value, or `address` if null == Parameters [cols="1,4"] |=== | Name| Description | *address* | fallback address if this object is null |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#