Destroy the object at the specified address.
Declared in <bslma_stdtestallocator.h>
template<class ELEMENT_TYPE>
void
destroy(ELEMENT_TYPE* address);
Call the TYPE destructor for the object pointed to by the specified address. Do not directly deallocate any memory.
| Name | Description |
|---|---|
| address | The address of the object to destroy. |