Finally trying to break the habit of using ! operator with pointers instead of comparing to NULL. I blame K&R.
-
-
This Tweet is unavailable.
-
Replying to @HookTM
@GrumpyHook@dmmfix NULL is pretty pointless now that the C++ spec mandates 0 is an invalid pointer...2 replies 0 retweets 0 likes -
This Tweet is unavailable.
-
Replying to @dmmfix
@dmmfix@GrumpyHook It's possible that they've added something new now, but 0 was the standard up until now.2 replies 0 retweets 0 likes -
Replying to @cmuratori1 reply 0 retweets 0 likes
-
Replying to @HookTM
@cmuratori@dmmfix IIRC, "0" was always correct and NULL was implementation defined, often to (void*)0, which would generate warnings/errors1 reply 0 retweets 0 likes -
Replying to @HookTM
@GrumpyHook@dmmfix No, technically 0 was not correct in C, because some architectures used to use 0 as a valid pointer.2 replies 0 retweets 0 likes
@GrumpyHook @dmmfix Those architectures had to stop using that particular memory address under C++, I guess.
9:27 AM - 24 Jun 2013
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.