D equivalent of the X macro?
H. S. Teoh via Digitalmars-d
digitalmars-d at puremagic.com
Thu May 1 17:22:11 PDT 2014
I was reading this article of Walter's:
http://www.drdobbs.com/cpp/the-x-macro/228700289
Which is a neat trick that I wish I'd known back when I was writing
C/C++. But the thought crossed my mind: what's the D equivalent of the X
macro, since D doesn't have macros? Any ideas?
T
--
When solving a problem, take care that you do not become part of the problem.
More information about the Digitalmars-d
mailing list