scoped_allocator_adaptor::destroy Method
Destroys a specified object.
template<class Ty>
void destroy(Ty *ptr)
Parameters
- ptr
A pointer to the object to be destroyed.
Return Value
Outermost_traits::destroy(OUTERMOST(*this), ptr)
Requirements
Header: <scoped_allocator>
Namespace: std