Is there a way to "see" source code generated by templates after a compile?

Nicholas Wilson via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jul 18 01:23:34 PDT 2016


On Sunday, 17 July 2016 at 16:30:38 UTC, Stefan Koch wrote:
> On Sunday, 17 July 2016 at 14:54:34 UTC, zabruk70 wrote:
>> On Sunday, 17 July 2016 at 11:14:39 UTC, Stefan Koch wrote:
>>> If you want to see template expansions you have to wait a 
>>> little longer.
>>
>> Wow! Is this really possible?! So long time several peoples 
>> asked this...
>
> I am reasonably sure that I can do it :)
>
> However don't expect anything pretty.
> The indentation will be long gone ...

Just pipe it through dformat should do a good enough job.


More information about the Digitalmars-d-learn mailing list