3 ms·
X Macros! Mostly because it's one of the more understandable and funky things you can do with the preprocessor. You can do some crazy stuff with them :) https:
by germ 6y ago
X Macros! Mostly because it's one of the more understandable and funky things you can do with the preprocessor. You can do some crazy stuff with them :)
https://blog.gboards.ca/2020/02/adventures-in-obscure-c-features-2020.html https://blog.gboards.ca/2020/02/adventures-in-obscure-c-feat...
https://en.m.wikipedia.org/wiki/X_Macro https://en.m.wikipedia.org/wiki/X_Macro
- kps 6y agoOh, that has a name. In C, often used with an include file instead of a body macro, and often (?) used where code wants multiple internal representations of some table of data.