r/cpp • u/Xaneris47 • Apr 07 '26
The "macro overloading" idiom – Arthur O'Dwyer
https://quuxplusone.github.io/blog/2026/04/02/macro-overloading/
30
Upvotes
r/cpp • u/Xaneris47 • Apr 07 '26
35
u/UnicycleBloke Apr 07 '26
"neat" and "macro" in the same sentence? "Neat" tricks with macros have led to some of the worst code it has ever been my misfortune not to be able to avoid working with. Just say no.