BloombergLP::bdlma::AutoReleaser::AutoReleaser

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

NameDescription
originalAllocatorallocator or pool to manage