bsl::allocator_traits<allocator<TYPE>>::destroy

Destroy the object at the specified p.

Synopsis

Declared in <bslma_bslallocator.h>

template<class ELEMENT_TYPE>
static
void
destroy(
    allocator_type& m,
    ELEMENT_TYPE* p);

Parameters

NameDescription
mallocator used for destruction
ppointer to the object to destroy