8#ifndef INCLUDED_BSLMA_DEALLOCATORGUARD
9#define INCLUDED_BSLMA_DEALLOCATORGUARD
145#include <bslscm_version.h>
165template <
class ALLOCATOR>
170 ALLOCATOR *d_allocator_p;
206template <
class ALLOCATOR>
209 ALLOCATOR *allocator)
211, d_allocator_p(allocator)
217template <
class ALLOCATOR>
224 d_allocator_p->deallocate(d_memory_p);
229#ifndef BDE_OPENSOURCE_PUBLICATION
234#ifdef bslma_DeallocatorGuard
235#undef bslma_DeallocatorGuard
238#define bslma_DeallocatorGuard bslma::DeallocatorGuard
Definition bslma_deallocatorguard.h:166
~DeallocatorGuard()
Definition bslma_deallocatorguard.h:219
#define BSLS_ASSERT_SAFE(X)
Definition bsls_assert.h:1917
#define BSLS_IDENT(str)
BSLS_IDENT() - insert string into .comment binary segment (if supported)
Definition bsls_ident.h:238
Definition baljsn_encoder_testtypes.h:76