[#BloombergLP-bslma-DeallocatorProctor-2constructor] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/DeallocatorProctor.adoc[DeallocatorProctor]::DeallocatorProctor :relfileprefix: ../../../ :mrdocs: Create a deallocator proctor that conditionally manages the specified `memory` (if non‐zero), and that uses the specified `allocator` to deallocate the block of memory managed by this proctor (if not released ‐‐ see `release`) upon destruction. The behavior is undefined unless `allocator` is non‐zero and supplied `memory`. Note that `allocator` must remain valid throughout the lifetime of this proctor. == Synopsis Declared in `<bslma_deallocatorproctor.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- DeallocatorProctor( void* memory, ALLOCATOR* allocator); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#