Login
From:
Jens Gustedt's Blog
(Uncensored)
subscribe
Tail recursion for macros in C – Jens Gustedt's Blog
https://gustedt.wordpress.com/2024/07/19/tail-recursion-for-macros-in-c/
links
backlinks
Tagged with:
macros
syntax
define
c23
preprocessor
eŀlipsis
Roast topics
Find topics
Find it!
In view of the addition of __VA_OPT__ first to C++ and now to C23, there had been interest in extending the C preprocessor to include recursion. The basic idea would be that __VA_OPT__ can be used …