[#bsl-allocator-0a-destroy] = xref:bsl.adoc[bsl]::xref:bsl/allocator-0a.adoc[allocator<void>]::destroy :relfileprefix: ../../ :mrdocs: Call the destructor for the object at the specified `address`. == Synopsis Declared in `<bslma_bslallocator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class ELEMENT_TYPE> void destroy(ELEMENT_TYPE* address); ---- == Description Call the `TYPE` destructor for the object pointed to by the specified `address`. Do not directly deallocate any memory. == Parameters [cols="1,4"] |=== | Name| Description | *address* | pointer to the object to destroy |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#