| Defined in header |
template< class T > void destroy( T* p );
Uses the outer allocator to call the destructor of the object pointed to by
p, by calling.
where OUTERMOST is the type that would be returned by calling
this->outer_allocator(), and then calling the
outer_allocator() member function recursively on the result of this call until reaching the type that has no such member function.
|p||-||pointer to the object that is going to be destroyed|
| destructs an object stored in the allocated storage
(deprecated in C++17)(removed in C++20)
| destructs an object in allocated storage
(public member function of
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.