On Saturday, 22 February 2020 at 12:24:56 UTC, drathier wrote:
On Saturday, 22 February 2020 at 11:53:38 UTC, Dennis wrote:
On Saturday, 22 February 2020 at 11:26:19 UTC, Per Nordlöw wrote:
Is there a dmd flag that shows the code after template instantiations has been performed?

The -vcg-ast flag does that.

The d.cg files still contain templates, so it appears like they're instantiated after -vcg-ast?

no. -vcg-ast runs directly before codegen.
All ast-rewriteing has already happend at that point.
The reason it contains the template declarations is because they are still in the ast.
There is no point in removing them.

Reply via email to