[#BloombergLP-bslalg-ContainerBase_NonEmptyBase]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::ContainerBase&lowbar;NonEmptyBase
:relfileprefix: ../../
:mrdocs:

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

== Synopsis

Declared in `&lt;bslalg&lowbar;containerbase&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class ALLOCATOR&gt;
class ContainerBase&lowbar;NonEmptyBase;
----

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslalg/ContainerBase_NonEmptyBase/AllocatorType.adoc[`AllocatorType`] 
| Alias for the (template parameter) `ALLOCATOR` type&period;
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslalg/ContainerBase_NonEmptyBase/2constructor.adoc[`ContainerBase&lowbar;NonEmptyBase`]         [.small]#[constructor]#
| Construct this object to hold a copy of the specified `basicAllocator` of the (template parameter) type `ALLOCATOR`&period;
| xref:BloombergLP/bslalg/ContainerBase_NonEmptyBase/2destructor.adoc[`&#126;ContainerBase&lowbar;NonEmptyBase`] [.small]#[destructor]#
| Destroy this object&period;
| xref:BloombergLP/bslalg/ContainerBase_NonEmptyBase/allocatorRef-0b.adoc[`allocatorRef`] 
| `allocatorRef` overloads
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
