Stupid C++ Tricks: Adventures in Assert
This is a re-hosting of the original Assert article I wrote in April 2007, during the epic rise and fall of Power of Two Games. I’m reprinting it here on my personal site now that Pow2 is defunct and...
View ArticleStupid C++ Tricks: do/while(0) and C4127
A nice little quickie: I briefly discuss in my assert ramblings why it’s important to wrap all of your multi-line macros in do/while(0) blocks. An unfortunate side-effect of this is that the...
View Article
More Pages to Explore .....