Is there I can get GDC to give me source code with all templates expanded, but no other work done?

90 Views Asked by At

Suppose I have a file foo.d which instantiates a bunch of templates. Is there any way I can ask GDC (specifically) to give me foo.d with all its templates instantiated, but nothing else done? The GCC -E option obviously doesn't work, as D templates are not expanded by the C preprocessor, but I'm not sure what option I should try (or if one even exists).

0

There are 0 best solutions below