Create a non-allocator base holding a copy of value.
Declared in <bdlb_variant.h>
template<class TYPE>
VariantImp_NoAllocatorBase(
int type,
TYPE const& value,
bsl::false_type tag);
Create a VariantImp_NoAllocatorBase holding a copy of the specified value of the (template parameter) TYPE, with the specified type indicating the type of the object that the variant will initially hold.
| Name | Description |
|---|---|
| type | type index of the initially held alternative |
| value | value assigned to or stored in this variant |
| tag | unused overload-resolution tag |