[#BloombergLP-bslalg-ContainerBase_NonEmptyBase] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::ContainerBase_NonEmptyBase :relfileprefix: ../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class ALLOCATOR> class ContainerBase_NonEmptyBase; ---- == Type Aliases [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslalg/ContainerBase_NonEmptyBase/AllocatorType.adoc[`AllocatorType`] | Alias for the (template parameter) `ALLOCATOR` type. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslalg/ContainerBase_NonEmptyBase/2constructor.adoc[`ContainerBase_NonEmptyBase`] [.small]#[constructor]# | Construct this object to hold a copy of the specified `basicAllocator` of the (template parameter) type `ALLOCATOR`. | xref:BloombergLP/bslalg/ContainerBase_NonEmptyBase/2destructor.adoc[`~ContainerBase_NonEmptyBase`] [.small]#[destructor]# | Destroy this object. | xref:BloombergLP/bslalg/ContainerBase_NonEmptyBase/allocatorRef-0b.adoc[`allocatorRef`] | `allocatorRef` overloads |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#