On Mon, 23 Jul 2012 20:42:25 +0000, Williams, Norman K said: >So the question is this: do we keep static_cast where they aren't needed?
My 2¢: I think that kind of unnecessary cast is a code smell, and would remove it. >and should we add dynamic_cast in the frequent case where an input or >output of a filter is assumed to be of a particular type? Perhaps in a debug-only assert()? -- ____________________________________________________________ Sean McBride, B. Eng [email protected] Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ 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://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://www.itk.org/mailman/listinfo/insight-developers
