Partager via


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

See Also

Reference

scoped_allocator_adaptor Class

allocator_traits::destroy Method