[vtk-developers] Re: 0, NULL -> nullptr (Ken Martin)
Andrew Maclean
andrew.amaclean at gmail.com
Wed Jul 26 19:08:23 EDT 2017
Ken,
I just did a windows (Win 64, VS2017) release/debug build. All seems Ok
Regards
Andrew
---------- Forwarded message ----------
> From: Ken Martin <ken.martin at kitware.com>
> To: VTK Developers <vtk-developers at vtk.org>
> Cc:
> Bcc:
> Date: Wed, 26 Jul 2017 14:19:34 -0400
> Subject: Re: [vtk-developers] 0, NULL -> nullptr
> I have merged this as a new large commit. I'll try fixing any issues that
> crop up on the nightlies tomorrow. There are still many uses of NULL in
> comments and classes that did not build on my linux system (such as Win32
> and OSX specific classes) If you see uses of NULL or 0 in code you are
> editing that should be nullptr, please update them.
>
> I did go beyond just clang-tidy so if you see issues/regressions with the
> change let me know.
>
> Going forward in C++ code please use nullptr as it has better type safety
> and overload resolution than NULL or 0.
>
> In comments I tried to use "nullptr" or "null" depending on the context as
> opposed to NULL.
>
> Topics in flight may have merge conflicts (probably :-( ).
>
>
>
--
___________________________________________
Andrew J. P. Maclean
___________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20170727/376aa96f/attachment.html>
More information about the vtk-developers
mailing list