BloombergLP::bdlma::GuardingAllocator::deallocate

Return the memory block at the specified address back to this allocator. If address is 0, this method has no effect. Otherwise, the guard page associated with address is unprotected and also deallocated. The behavior is undefined unless address was returned by allocate and has not already been deallocated.

Synopses

Declared in <bdlma_guardingallocator.h>

Return the memory block at the specified address back to this allocator. If address is 0, this method has no effect. Otherwise, the guard page associated with address is unprotected and also deallocated. The behavior is undefined unless address was returned by allocate and has not already been deallocated.

virtual
void
deallocate(void* address) override;
» more...
void
deallocate(
    void* __p,
    size_t __bytes,
    size_t __alignment = _S_max_align);
» more...