[Insight-developers] SmartPointers to const

Luis Ibanez ibanez@cs.unc.edu
Thu, 18 Jan 2001 17:32:50 -0500


Hi,

Is there any way to use SmartPointers to const  objects ?
or otherwise, is there a kind of ConstSmartPointer ?

That is, to have a SmartPointer addressing an object that 
is not supposed to change.

I found that a SmartPointer can be defined from a normal 
pointer just by assignment, but I didn't find a similar 
method for a (const T *)



Thanks,

Luis