BloombergLP::bslalg::ContainerBase_EmptyBase::allocatorRef

allocatorRef overloads

Synopses

Declared in <bslalg_containerbase.h>

Return a reference to the modifiable allocator used to construct this object.

ALLOCATOR&
allocatorRef();
» more...

Return a reference to the non-modifiable allocator used to construct this object.

ALLOCATOR const&
allocatorRef() const;
» more...

Return Value

  • modifiable reference to the allocator used to construct this object
  • non-modifiable reference to the allocator used to construct this object