◐ Shell
clean mode source ↗

std::pmr::polymorphic_allocator<T>::destroy - cppreference.com

提供: cppreference.com

<tbody> </tbody>

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

(C++17以上)

p->~U() を呼んだかのように、 p の指すオブジェクトを破棄します。

引数

関連項目