Template:cpp/container/get allocator

Returns the allocator associated with the container.

Parameters
(none)

Return value
The associated allocator.

Complexity
Constant.