Create a variant holding value using basicAllocator.
Synopsis
Declared in <bdlb_variant.h>
template<class TYPE>
Variant8(
TYPE const& value,
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
Name |
Description |
value |
value assigned to or stored in this variant |
basicAllocator |
allocator used to supply memory |
Created with MrDocs