[#BloombergLP-bdlb-NullableValue-2constructor-099] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/NullableValue.adoc[NullableValue]::NullableValue :relfileprefix: ../../../ :mrdocs: Create a null nullable object that uses the specified `allocator`. == Synopsis Declared in `<bdlb_nullablevalue.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- NullableValue( xref:bsl/nullopt_t.adoc[bsl::nullopt_t] const& nullopt, xref:BloombergLP/bdlb/NullableValue/allocator_type.adoc[allocator_type] const& allocator) noexcept; ---- == Description Create a nullable object that has the null value; use the specified `allocator` (e.g., the address of a `bslma::Allocator` object) to supply memory for subsequent values assigned to this object. Note that this constructor will not participate in overload resolution unless `TYPE` is allocator aware. == Parameters [cols="1,4"] |=== | Name| Description | *nullopt* | disengaged‐optional tag | *allocator* | allocator used to supply memory |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#