[Insight-users] SmartPointer problem
Bill Hoffman
bill . hoffman at kitware . com
Wed, 25 Jun 2003 16:50:47 -0400
What does the itkWrapFilters function look like?
My guess is that it returns a smartpointer as a real
pointer, and when the smartpointer goes out of scope, the
pointer is deleted before it even gets to the operator =.
-Bill
At 04:11 PM 6/25/2003, Shunming Fang wrote:
>Hello, ITK_Users:
>I declare a ImageType smartpoint like:
>TmageType::pointer image;
>image = itkWrapFilters(InputImage), there, I found
>when
>smartpointer try to copy assigment, there happened of
>Segmentation fault, anything wrong?
>Fang
>
>__________________________________
>Do you Yahoo!?
>SBC Yahoo! DSL - Now only $29.95 per month!
>http://sbc . yahoo . com
>_______________________________________________
>Insight-users mailing list
>Insight-users at itk . org
>http://www . itk . org/mailman/listinfo/insight-users