[#BloombergLP-bdlat_NullableValueFunctions-bdlat_nullableValueAccessValue-0c1] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat_NullableValueFunctions.adoc[bdlat_NullableValueFunctions]::bdlat_nullableValueAccessValue :relfileprefix: ../../ :mrdocs: `bdlat_nullableValueAccessValue` overloads == Synopses Declared in `<bdlat_nullablevaluefunctions.h>` Invoke `accessor` on the non‐null value held by `object`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class TYPE, class ACCESSOR> int xref:BloombergLP/bdlat_NullableValueFunctions/bdlat_nullableValueAccessValue-00.adoc[bdlat_nullableValueAccessValue]( xref:BloombergLP/bdlb/NullableAllocatedValue.adoc[bdlb::NullableAllocatedValue<TYPE>] const& object, ACCESSOR& accessor); ---- [.small]#xref:BloombergLP/bdlat_NullableValueFunctions/bdlat_nullableValueAccessValue-00.adoc[_» more..._]# Default customization‐point implementation of `accessValue` for `bdlb::NullableValue`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class TYPE, class ACCESSOR> int xref:BloombergLP/bdlat_NullableValueFunctions/bdlat_nullableValueAccessValue-0c3.adoc[bdlat_nullableValueAccessValue]( xref:BloombergLP/bdlb/NullableValue.adoc[bdlb::NullableValue<TYPE>] const& object, ACCESSOR& accessor); ---- [.small]#xref:BloombergLP/bdlat_NullableValueFunctions/bdlat_nullableValueAccessValue-0c3.adoc[_» more..._]# == Return Value * result of invoking `accessor` on the held value * result of invoking `accessor` == Parameters [cols="1,4"] |=== | Name| Description | *object* | nullable value whose contents are accessed | *accessor* | functor applied to the held value |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#