Create a proctor object to manage the specified originalAllocator.

Synopsis

Declared in <bdlma_autoreleaser.h>

AutoReleaser(ALLOCATOR* originalAllocator);

Description

Unless the release method of this proctor is invoked, the release method of originalAllocator is automatically invoked upon destruction of this proctor.

Parameters

Name

Description

originalAllocator

allocator or pool to manage

Created with MrDocs