[#bsl-allocator_traits-0ae-destroy] = xref:bsl.adoc[bsl]::xref:bsl/allocator_traits-0ae.adoc[allocator_traits<std::allocator<ALLOCATOR_TYPE>>]::destroy :relfileprefix: ../../ :mrdocs: Destroy the object at the specified address. == Synopsis Declared in `<bslma_allocatortraits.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- using Base::destroy; ---- == Description Destroy the object at `p` via the underlying `std::allocator_traits` implementation. The behavior is undefined unless `p` refers to a valid, constructed object. == Parameters [cols="1,4"] |=== | Name| Description | *a* | allocator used for destruction if it provides `destroy` | *p* | address of the object to destroy |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#