Any way to print compile-time generated code?

Chris Williams yoreanon-chrisw at yahoo.co.jp
Mon Mar 10 11:23:41 PDT 2014


I'm toying with the dproto library and have encountered an issue 
where I can't remove items from a "repeated" list of items. I'd 
like to see what the mixins are producing in terms of actual D 
code, so that I can figure out how I can correctly try to delete 
an entry or find the code that's generating the array and add 
whatever corrections are necessary to expose this ability.

Is there any way to push a mixin into a string, instead of into 
the code, or otherwise to view the output of the "preprocessor"?


More information about the Digitalmars-d-learn mailing list