[#BloombergLP-bslma-RawDeleterGuard-2constructor] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/RawDeleterGuard.adoc[RawDeleterGuard]::RawDeleterGuard :relfileprefix: ../../../ :mrdocs: Create a raw deleter guard that unconditionally manages the specified `object`, and that uses the specified `allocator` to delete `object` upon the destruction of this guard. The behavior is undefined unless `object` and `allocator` are non‐zero, and `allocator` supplied the memory for `object`. Note that `allocator` must remain valid throughout the lifetime of this guard. == Synopsis Declared in `<bslma_rawdeleterguard.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- RawDeleterGuard( TYPE* object, ALLOCATOR* allocator); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#