Comment by vlovich123
3 months ago
I’m not a D programmer but I remember talks by Alexandrescu where he was arguing for this capability in C++ and ultimately one of his stated reasons why he switched from C++ to D
Look up static if - AST manipulation in native D code.
No comments yet
Contribute on Hacker News ↗