[#BloombergLP-bdlb-NullableAllocatedValue-2constructor-08]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/NullableAllocatedValue.adoc[NullableAllocatedValue]::NullableAllocatedValue
:relfileprefix: ../../../
:mrdocs:

Create a nullable object that has the null value and that uses the mechanism of the specified `allocator` to supply memory&period;

== Synopsis

Declared in `&lt;bdlb&lowbar;nullableallocatedvalue&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
NullableAllocatedValue(
    xref:bsl/nullopt_t.adoc[bsl::nullopt&lowbar;t] const& nullopt,
    xref:bsl/allocator-0df.adoc[bsl::allocator&lt;char&gt;] const& allocator);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *nullopt*
| disengaged&hyphen;optional tag&semi; value is unused
| *allocator*
| allocator used to supply memory
|===


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