[#BloombergLP-bdlb-NullableValue-2constructor-070] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/NullableValue.adoc[NullableValue]::NullableValue :relfileprefix: ../../../ :mrdocs: Create a nullable object that has the specified `value` (of `BDE_OTHER_TYPE`) converted to `TYPE` and that uses the specified `allocator` (e.g., the address of a `bslma::Allocator` object) to supply memory. Note that this constructor will not participate in overload resolution unless `TYPE` is allocator aware and `BDE_OTHER_TYPE` is convertible to `TYPE`. == Synopsis Declared in `<bdlb_nullablevalue.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class BDE_OTHER_TYPE> NullableValue( BDE_OTHER_TYPE&& value, xref:BloombergLP/bdlb/NullableValue/allocator_type.adoc[allocator_type] const& allocator, xref:BloombergLP/bdlb/NullableValue.adoc[EnableType] = EnableType()) requires bsl::is_convertible<BDE_OTHER_TYPE, TYPE>::value; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#