[ITK] ITK_NULLPTR and ITK_OVERRIDE on VS2012+

Bradley Lowekamp blowekamp at mail.nih.gov
Tue Dec 23 11:36:27 EST 2014


Hello,

Yes you could be done with CMake try compiles an what not.

Checking to see if the C++ version is C++11 seems reasonable. Is this causing any problems?

Brad

On Dec 23, 2014, at 5:36 AM, Мар'ян Климов <nekto1989 at gmail.com> wrote:

> Hi,
> 
> I've found out that ITK defines ITK_NULLPTR to NULL instead of nullptr and ITK_OVERRIDE to nothing. This happens in itkMacro.h. Can't this be done in some other way like check for HAS_OVERRIDE, HAS_NULLPTR instead of checking for __cplusplus?
> 
> Best regards,
> Marian
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/mailman/listinfo/community



More information about the Community mailing list