One of two possible base classes for ContainerBase. This class should be used only for allocators with size > 0 (Inheritance from this type can cause ambiguous conversions and should be avoided or insulated.)

Synopsis

Declared in <bslalg_containerbase.h>

template<class ALLOCATOR>
class ContainerBase_NonEmptyBase;

Type Aliases

Name

Description

AllocatorType

Alias for the (template parameter) ALLOCATOR type.

Member Functions

Name

Description

ContainerBase_NonEmptyBase [constructor]

Construct this object to hold a copy of the specified basicAllocator of the (template parameter) type ALLOCATOR.

~ContainerBase_NonEmptyBase [destructor]

Destroy this object.

allocatorRef

allocatorRef overloads

Created with MrDocs