Re:Having fun abusing the C language
by beeforpork on Tuesday October 25, 2016 @04:33PM
(#12791412)
20 years it is for me, too. And the exact rules of integer constants and their exact type have puzzled me lately. So I was not surprised to find more tricks for countof() here, to make it more safe to use. Nice!
Also, typechecking macro arguments with ?: is quite interesting, check it out. :-)
Also, typechecking macro arguments with ?: is quite interesting, check it out. :-)