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