[#BloombergLP-bdlma-AutoReleaser-2constructor]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlma.adoc[bdlma]::xref:BloombergLP/bdlma/AutoReleaser.adoc[AutoReleaser]::AutoReleaser
:relfileprefix: ../../../
:mrdocs:

Create a proctor object to manage the specified `originalAllocator`&period;

== Synopsis

Declared in `&lt;bdlma&lowbar;autoreleaser&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
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&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *originalAllocator*
| allocator or pool to manage
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
