[ITK-users] auto keyword and New() smart pointer
Johnson, Hans J
hans-johnson at uiowa.edu
Mon Mar 20 20:43:24 EDT 2017
Yann,
It will work only if you are compiling with C++11, and you have no intention of sharing your code with others who may not use C++11 syntax.
ITK proper currently maintains backwards compatibility with older versions of C++.
Hans
--
On 3/20/17, 6:46 PM, "Insight-users on behalf of asertyuio via Insight-users" <insight-users-bounces at itk.org on behalf of insight-users at itk.org> wrote:
Hey there,
I'm wondering if it was safe to use the auto keyword along with the itk New() smart pointer creator.
Thanks in advance for your answer !
Yann
_____________________________________
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 Insight-users
mailing list