in #c
↵ https://scaryreasoner.wordpress.com/2009/02/28/checking-sizeof-at-compile-time/
Nice explanation of the following macro:
#define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
What is Rickard working on and thinking about right now?
Every month I write a newsletter about just that. You will get updates about my current projects and thoughts about programming, and also get a chance to hit reply and interact with me. Subscribe to it below.