[#BloombergLP-bdlb-Variant19-2constructor-067] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/Variant19.adoc[Variant19]::Variant19 :relfileprefix: ../../../ :mrdocs: Create a variant holding `value` using `basicAllocator`. == Synopsis Declared in `<bdlb_variant.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> Variant19( TYPE const& value, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator); ---- == Description If `basicAllocator` is 0, the currently installed default allocator is used. `TYPE` must be the same as one of the types that this variant can hold. == Parameters [cols="1,4"] |=== | Name| Description | *value* | value assigned to or stored in this variant | *basicAllocator* | allocator used to supply memory |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#