8 ms·
> The latter may crash if integer and pointer are different sizes. Apparently some compilers specified a special __null extension to handle that case before nu
by josefx 3y ago
> The latter may crash if integer and pointer are different sizes.
Apparently some compilers specified a special __null extension to handle that case before nullptr was a thing.
- kazinator 3y agoSince NULL expands to an implementation-defined null pointer constant, it is valid for those implementations to go as far as #define NULL __null.