Create a Variant_Base object holding the 0th alternative, which is value‐initialized.
Synopsis
Declared in <bslstl_variant.h>
Variant_Base(
std::allocator_arg_t allocatorArg,
allocator_type allocator);
Description
Create a Variant_Base object holding the 0th alternative, which is value‐initialized. If this Variant_Base is allocator‐aware, the specified allocator is used to supply memory.
Parameters
Name |
Description |
allocatorArg |
tag selecting the allocator‐extended overload |
allocator |
allocator used to supply memory |
Created with MrDocs