8#ifndef INCLUDED_BSLMA_DEALLOCATORGUARD
9#define INCLUDED_BSLMA_DEALLOCATORGUARD
145#include <bslscm_version.h>
165template <
class ALLOCATOR>
170 ALLOCATOR *d_allocator_p;
203template <
class ALLOCATOR>
206 ALLOCATOR *allocator)
208, d_allocator_p(allocator)
214template <
class ALLOCATOR>
221 d_allocator_p->deallocate(d_memory_p);
226#ifndef BDE_OPENSOURCE_PUBLICATION
231#ifdef bslma_DeallocatorGuard
232#undef bslma_DeallocatorGuard
235#define bslma_DeallocatorGuard bslma::DeallocatorGuard
Definition bslma_deallocatorguard.h:166
~DeallocatorGuard()
Definition bslma_deallocatorguard.h:216
#define BSLS_ASSERT_SAFE(X)
Definition bsls_assert.h:1762
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
Definition balxml_encoderoptions.h:68