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