[Insight-users] force to destroy object
Xiaofeng Z
xf10036 at hotmail.com
Sun Jan 3 17:36:56 EST 2010
> In a well designed application, ideally, there will be
> only one such pointer at a time, while other classes
> that need to access the object will use raw pointers.
>
I don't understand the rationale of your above statement. Does this defeats
the purpose of smarter pointer since by doing this, the only help the smart
pointer does is to automatically delete the object. Please enlighten!
xz
More information about the Insight-users
mailing list