[Insight-users] const correctness

Karthik Krishnan Karthik.Krishnan at kitware.com
Thu Jun 22 00:05:41 EDT 2006


On Wed, 2006-06-21 at 11:01 +0200, Henning Meyer wrote:
> Hello,
> 
> why does a cast from XXX::Pointer to XXX::ConstPointer not happen automatically?
> How do I cast correctly?

XXX::Pointer p = XXX::New();
XXX::ConstPointer  = p.GetPointer();

> Henning
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users



More information about the Insight-users mailing list