Destroy the object at the specified address.

Synopsis

Declared in <bslma_allocatortraits.h>

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

Name

Description

a

allocator used for destruction if it provides destroy

p

address of the object to destroy

Created with MrDocs