How can we view source code that has been generated (say via "static foreach") ?

james.p.leblanc james.p.leblanc at gmail.com
Wed Sep 15 19:59:43 UTC 2021


Dear All,

In attempting to learn and use code generation, it
would be useful to be able to view the source code
that gets generated.

However, with various combinations of templates, UDAs, and
mixins it has not been easy.

Is there some standard way this is done?

Optimal would be to print out the entire generated source
code to allow inspection.

Best Regards,
James







More information about the Digitalmars-d-learn mailing list