[Insight-developers] itkLightObject Print() : const

Luis Ibanez ibanez@choroid.cs.unc.edu
Fri, 4 May 2001 13:02:44 -0400 (EDT)


Hi,

In order to enforce constness in SmartPointers,
it seems to be necesary to make the Print() method
of itkLightObject to be 'const'.

That probably makes sense given that a Print
operation should not modify the printed object.
(unless somebody really likes quantum mechanics :-)

The only problem with this, is that the Print() method
exists in a lot of classes and the change will have
to be propagated to all of them.

Does somebody see potential conflicts with this change ?



Luis