[#BloombergLP-bdlat_NullableValueFunctions-bdlat_nullableValueAccessValue-0c1]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat_NullableValueFunctions.adoc[bdlat&lowbar;NullableValueFunctions]::bdlat&lowbar;nullableValueAccessValue
:relfileprefix: ../../
:mrdocs:

`bdlat&lowbar;nullableValueAccessValue` overloads

== Synopses

Declared in `&lt;bdlat&lowbar;nullablevaluefunctions&period;h&gt;`

Invoke `accessor` on the non&hyphen;null value held by `object`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class TYPE,
    class ACCESSOR&gt;
int
xref:BloombergLP/bdlat_NullableValueFunctions/bdlat_nullableValueAccessValue-00.adoc[bdlat&lowbar;nullableValueAccessValue](
    xref:BloombergLP/bdlb/NullableAllocatedValue.adoc[bdlb::NullableAllocatedValue&lt;TYPE&gt;] const& object,
    ACCESSOR& accessor);
----

[.small]#xref:BloombergLP/bdlat_NullableValueFunctions/bdlat_nullableValueAccessValue-00.adoc[_» more&period;&period;&period;_]#

Default customization&hyphen;point implementation of `accessValue` for `bdlb&colon;&colon;NullableValue`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class TYPE,
    class ACCESSOR&gt;
int
xref:BloombergLP/bdlat_NullableValueFunctions/bdlat_nullableValueAccessValue-0c3.adoc[bdlat&lowbar;nullableValueAccessValue](
    xref:BloombergLP/bdlb/NullableValue.adoc[bdlb::NullableValue&lt;TYPE&gt;] const& object,
    ACCESSOR& accessor);
----

[.small]#xref:BloombergLP/bdlat_NullableValueFunctions/bdlat_nullableValueAccessValue-0c3.adoc[_» more&period;&period;&period;_]#

== 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]#
