Namespaces
Variants
Views
Actions

std::unique_ptr::~unique_ptr

From cppreference.com
 
 
 
 
 
~unique_ptr();
(since C++11)

If get() == nullptr there are no effects, otherwise get_delete()(get()).