[ITK Community] [Insight-developers] C++x11 patches know what changed

Bradley Lowekamp blowekamp at mail.nih.gov
Mon Nov 4 08:51:18 EST 2013


Hello,

There have been a number of patches in the last couple of weeks trying to get ITK to work with newer C++x11 compilers. I implore every to please do the research to find out what changed in the standard and why the old code no longer works. Other wise you are just hacking. And please include that in your commit message to that we can all learn these things that are changing in the standard to we can write better code.


Here is an interesting change with the ios class which is used as a base class for all stream classes:

http://www.cplusplus.com/reference/ios/ios/operator_bool/

The following has been removed:
operator void*() const;

and replaces with:
explicit operator bool() const;

Thanks,
Brad 
_______________________________________________
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



More information about the Community mailing list