[vtk-developers] NULL versus nullptr

Robert Maynard robert.maynard at kitware.com
Fri Mar 17 09:36:07 EDT 2017


Marcus is correct in that we have not updated our coding standards to
account for C++11

I am going to make it my priority to establish an initial document on
expect/allow from C++11.

On Thu, Mar 16, 2017 at 12:00 PM, Marcus D. Hanwell
<marcus.hanwell at kitware.com> wrote:
> On Thu, Mar 16, 2017 at 11:55 AM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
>> I just reviewed a gitlab MR. The developer replaced =0 with =NULL.
>> Since we now require c++11, should we be using nullptr?
>>
> I think we should in new code, but there may be a little debate on
> this as I am not sure our coding standards have been updated to
> reflect this (along with what else we expect/allow from C++11).
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtk-developers
>


More information about the vtk-developers mailing list