On 02/05/14 02:22, H. S. Teoh via Digitalmars-d wrote:
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?

The Color example is already handled by D, if I recall correctly.

--
/Jacob Carlborg

Reply via email to