[vtk-developers] NULL versus nullptr

Ben Boeckel ben.boeckel at kitware.com
Thu Mar 16 12:11:33 EDT 2017


On Thu, Mar 16, 2017 at 11:55:21 -0400, Bill Lorensen wrote:
> I just reviewed a gitlab MR. The developer replaced =0 with =NULL.
> Since we now require c++11, should we be using nullptr?

For new code, I'd say so.

At some point, we might want to use this:

    http://clang.llvm.org/extra/clang-tidy/checks/modernize-use-nullptr.html

--Ben


More information about the vtk-developers mailing list