Constructors

Synopses

Declared in <bslstl_variant.h>

Create a Variant_AllocatorBase object that holds the currently installed default allocator.

Create a Variant_AllocatorBase object that holds a copy of the allocator held by the specified original.

Create a Variant_AllocatorBase object that holds a copy of the specified allocator.

Parameters

Name

Description

original

object whose allocator is copied

allocator

allocator to be held by this object

Created with MrDocs