This class implements a proctor that invokes the release method of its managed allocator or pool at destruction unless the proctor's release method is invoked.
Synopsis
Declared in <bdlma_autoreleaser.h>
template<class ALLOCATOR>
class AutoReleaser;
Member Functions
Name |
Description |
|
Create a proctor object to manage the specified |
|
Destroy this proctor object and, unless the |
Release from management the allocator or pool currently managed by this proctor. If no allocator or pool is currently being managed, this method has no effect. |
|
Set the specified |
Created with MrDocs