C preprocessor macros that work on whole code blocks (blog.sujeet.me) 6 points by gholap 12y ago ↗ HN
[–] dr_win 12y ago ↗ This approach has a minor issue. "break" changes semantics inside the block.http://gustedt.wordpress.com/2010/08/14/scope-bound-resource...http://blog.sam.liddicott.com/2013/04/using-for-as-brace-les... [–] gholap 12y ago ↗ Yes. I forgot to mention that. Thanks!
2 comments
[ 3.0 ms ] story [ 28.6 ms ] threadhttp://gustedt.wordpress.com/2010/08/14/scope-bound-resource...
http://blog.sam.liddicott.com/2013/04/using-for-as-brace-les...