3 ms·
Tail Recursion for Macros in C
- vhvj 2y ago[dead]
- DerekL 2y agoI was wondering the same thing about making macros optionally recursive. Because if they were recursive, then that feature and `__VA_OPT__` would be enough to make them Turing-complete.
- pajko 2y agoAn alternative in pure cpp is https://github.com/swansontec/map-macro https://github.com/swansontec/map-macro