std::unique_ptr::~unique_ptr

From Cppreference

Jump to: navigation, search
~unique_ptr();
(C++11 feature)

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