[#BloombergLP-bdlar-NullableValueRef-accessValue] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::xref:BloombergLP/bdlar/NullableValueRef.adoc[NullableValueRef]::accessValue :relfileprefix: ../../../ :mrdocs: Invoke the specified `accessor` on the referred non‐null value. The supplied `accessor` must be a callable type that can be called as if it had the following signature: ` int accessor(const VALUE& refOrValue); ` Return the value from the invocation of `accessor`. The behavior is undefined if the referred object is null. == Synopsis Declared in `<bdlar_nullablevalueref.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_ACCESSOR> int accessValue(t_ACCESSOR& accessor) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#