// Return true only if compiled as C++ bool isCPlusPlus(void) { auto x = ~0u; return x > 0; }
-
Show this thread
-
Joe Groff Retweeted Joe Groff
Oops, pretend I called it `is_CPlusPlus` insteadhttps://twitter.com/jckarter/status/1214066926470615042 …
Joe Groff added,
3 replies 2 retweets 30 likesShow this thread
Replying to @jckarter
Third letter has to be lowercase for UB so you're fine
4:41 PM - 7 Jan 2020
0 replies
0 retweets
1 like
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.