[Insight-users] Smart pointer question
Mark Foskey
mark_foskey at unc . edu
Thu, 05 Jun 2003 11:08:31 -0400
salah wrote:
> Hi,
>
> are the objects created by SpartPointers automatically
> deallocated/freed when these SmartPointer are
> called with New(); once again ??
> Thanks
> Zein
Yes. The place to look to see what happens is the code for
SmartPointer::operator=().
--
Mark Foskey (919) 843-5436 Computer-Aided Diagnosis and Display Lab
mark_foskey at unc . edu Department of Radiology, CB 7515, UNC
http://www . cs . unc . edu/~foskey Chapel Hill, NC 27599-7515