[#bsl-allocator_traits-05e-destroy] = xref:bsl.adoc[bsl]::xref:bsl/allocator_traits-05e.adoc[allocator_traits<allocator<TYPE>>]::destroy :relfileprefix: ../../ :mrdocs: Destroy the object at the specified `p`. == Synopsis Declared in `<bslma_bslallocator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class ELEMENT_TYPE> static void destroy( xref:bsl/allocator_traits-05e/allocator_type.adoc[allocator_type]& m, ELEMENT_TYPE* p); ---- == Parameters [cols="1,4"] |=== | Name| Description | *m* | allocator used for destruction | *p* | pointer to the object to destroy |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#