[vtk-developers] Request for a gentler tone in commit message verbiage...
Robert Maynard
robert.maynard at kitware.com
Thu Apr 30 10:20:26 EDT 2015
Actually the definition of NULL is left up to each compiler. The C++11
draft states "The macro NULL < snip> is an implementation-defined C++
null pointer constant"
On Thu, Apr 30, 2015 at 10:17 AM, Brad King <brad.king at kitware.com> wrote:
> On 04/30/2015 10:08 AM, David Cole via vtk-developers wrote:
>> That in some implementations NULL is defined simply as 0. Stupidly,
>> but still a fact.
>>
>> Even in VS 2013, with __cplusplus defined, NULL is simply #define'd to 0.
>
> IIRC the C++ standard *requires* that NULL be just "0".
> Its conversion problems are why C++11 introduced nullptr.
>
> -Brad
>
> _______________________________________________
> 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