BloombergLP::bslma::NewDeleteAllocator::deallocate

Return the memory block at the specified address back to this allocator. If address is 0, this function has no effect. The behavior is undefined unless address was allocated using this allocator object and has not already been deallocated. Note that global operator delete is not called when address is 0 (in order to avoid having to acquire a lock, and potential contention in multi-threaded programs).

Synopsis

Declared in <bslma_newdeleteallocator.h>

virtual
void
deallocate(void* address) override;