[#BloombergLP-bdlat-NullableValueUtil]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat.adoc[bdlat]::NullableValueUtil
:relfileprefix: ../../
:mrdocs:

This `struct` provides a namespace for a suite of function templates providing non&hyphen;primitive operations on &quot;nullable value&quot; types&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct NullableValueUtil;
----

== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlat/NullableValueUtil/accessValueByCategory.adoc[`accessValueByCategory`] 
| Invoke the specified `accessor` on the non&hyphen;modifiable value stored in the specified &quot;nullable&quot; `object` and on a prvalue of the category tag type for the dynamic category of the value&period; See &lcub;`bdlat&lowbar;typecategory`&verbar;Category Tags and Enumerators&rcub; for documentation about category tags&period; Return the value from the invocation of `accessor`&period; The `accessor` must be an accessor functor&period; See &lcub;`bdlat&lowbar;typecategory`&verbar;`ACCESSOR` Functors&rcub; for the requirements on `accessor`&period; The behavior is undefined if `object` contains a null value&period;
| xref:BloombergLP/bdlat/NullableValueUtil/manipulateValueByCategory.adoc[`manipulateValueByCategory`] 
| Invoke the specified `manipulator` on the address of the value stored in the specified &quot;nullable&quot; `object` and on a prvalue of the category tag type for the dynamic category of the value&period; See &lcub;`bdlat&lowbar;typecategory`&verbar;Category Tags and Enumerators&rcub; for documentation about category tags&period; Return the value from the invocation of `manipulator`&period; The `manipulator` must be a manipulator functor&period; See &lcub;`bdlat&lowbar;typecategory`&verbar;`MANIPULATOR` Functors&rcub; for the requirements on `manipulator`&period; The behavior is undefined if `object` contains a null value&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
