[ITK] [ITK-users] itk and const-correctness

Pol Monsó Purtí lluna.nova at gmail.com
Sat Mar 28 19:44:14 EDT 2015


Hello all,

What is the preferred way to achieve const-correctness in ITK?

I've stumbled with this 2010 post:
http://itk-insight-users.2283740.n2.nabble.com/itk-SmartPointer-problem-making-code-const-correct-td5109890.html

which suggests using raw pointers as arguments and pass ::Pointer in
practice. Like the first function of
http://www.itk.org/Wiki/ITK/Examples/Utilities/PassImageToFunction with

  myStandardPointer(image);


Is that still the case in 2014?

Cheers,

Pol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20150329/c3a5d743/attachment.html>
-------------- next part --------------
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list