allocatorRef overloads

Synopses

Declared in <bslalg_containerbase.h>

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

ALLOCATOR&
allocatorRef();

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

ALLOCATOR const&
allocatorRef() const;

Return Value

  • modifiable reference to the allocator used to construct this object

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

Created with MrDocs