The X Macro

Ellery Newcomer ellery-newcomer at utulsa.edu
Thu Jun 24 15:37:08 PDT 2010


On 06/24/2010 05:10 PM, Walter Bright wrote:
>
> Even though D doesn't have a text macro preprocessor, this can be done
> using string mixins and a bit of CTFE.

an example, taken to horrible extremes:

http://www.dsource.org/projects/dexcelapi/browser/trunk/src/dxl/biff/Enums.d


More information about the Digitalmars-d mailing list