Re:*(char*)0 = 0; - What Does the C++ Programmer Intend with...
by josefx on Wednesday October 18, 2023 @04:05PM
(#37934061)
Well it should be backwards compatible if you just use NULL everywhere where it is appropriate, so you wouldn't even have to sprinkle ifdefs all over the place. Code that uses 0 all over the place would probably have to be updated with the help of compiler errors and a static code analyzer.
[ Parent
| on HN ]
There are no comments on this comment yet.