Namespaces
Variants

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

From cppreference.net
template < class U >
void destroy ( U * p ) ;
(库基础技术规范)

销毁由 p 指向的对象,如同通过调用 p - > ~U ( ) 实现。

参数

p - 指向被销毁对象的指针

参见

[static]
销毁分配存储中的对象
(函数模板)