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

Set the specified `newAllocator` as the allocator or pool to be managed by this proctor&period; Note that this method releases from management any previously held allocator or pool, and so may be invoked with or without having called `release` when reusing this object&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
reset(ALLOCATOR* newAllocator);
----


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