std::unique_ptr::~unique_ptr
From Cppreference
< cpp | memory | unique ptr
~unique_ptr();
|
(C++11 feature) | |
If get() == nullptr there are no effects, otherwise get_delete()(get()).
~unique_ptr();
|
(C++11 feature) | |
If get() == nullptr there are no effects, otherwise get_delete()(get()).