std::experimental::pmr::polymorphic_allocator<T>::destroy (3) - Linux Manuals

std::experimental::pmr::polymorphic_allocator<T>::destroy: std::experimental::pmr::polymorphic_allocator<T>::destroy

NAME

std::experimental::pmr::polymorphic_allocator<T>::destroy - std::experimental::pmr::polymorphic_allocator<T>::destroy

Synopsis


template<class U> (library fundamentals TS)
void destroy(U* p);


Destroys the object pointed to by p, as if by calling p->~U().

Parameters


p - pointer to the object being destroyed

See also


destroy destructs an object stored in the allocated storage
         (function template)
[static]