-
- Downloads
Use a free_deleter for unique_prt
There was a bug caused by calling um.get() in the destructor still left the unique_ptr armed with the pointer. Using free_deleter is cleaner and works too.
Please register or sign in to comment
There was a bug caused by calling um.get() in the destructor still left the unique_ptr armed with the pointer. Using free_deleter is cleaner and works too.