Create a variant from original using basicAllocator.
Declared in <bdlb_variant.h>
Variant19(
bslmf::MovableRef<Variant19> original,
bslma::Allocator* basicAllocator);
If basicAllocator is 0, the currently installed default allocator is used. The contents of original are moved to the newly-created object with original left in a valid but unspecified state.
| Name | Description |
|---|---|
| original | source variant to copy or move from |
| basicAllocator | allocator used to supply memory |