mtdew3q Messages: 146 Registered: July 2010 Location: Upstate, NY
I am trying to figure out why the smart pointers are handy.
I called delete on a smart pointer and unless I specifically
set it to NULL after I call delete it doesn't return NULL
with the T * operator->() method.
I'd like my code to be able to detect that the smart pointer
I am not sure I understand the advantage if after I call delete
that it doesn't detect that delete has been called.