BDE 4.14.0 Production release
|
#include <bslalg_containerbase.h>
Public Types | |
typedef ALLOCATOR | AllocatorType |
Public Member Functions | |
ContainerBase_NonEmptyBase (const ALLOCATOR &basicAllocator) | |
~ContainerBase_NonEmptyBase () | |
Destroy this object. | |
ALLOCATOR & | allocatorRef () |
const ALLOCATOR & | allocatorRef () const |
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.)
typedef ALLOCATOR bslalg::ContainerBase_NonEmptyBase< ALLOCATOR >::AllocatorType |
|
inlineexplicit |
Construct this object to hold a copy of the specified basicAllocator
of the (template parameter) type ALLOCATOR
.
|
inline |
|
inline |
Return a reference to this object's allocator, which is typically a copy of the allocator used to construct this object.
|
inline |
Return a non-modifiable reference to this object's allocator, which is typically a copy of the allocator used to construct this object.