Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Calls an objects destructor without deallocating the memory where the object was stored.
void destroy(pointer _Ptr);
Parameters
Parameter |
Description |
---|---|
_Ptr |
A pointer designating the address of the object to be destroyed. |
Remarks
This member function is implemented for the user-defined allocator by calling _Ptr->~Type().
Requirements
Header: <allocators>
Namespace: stdext