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

Stefan Koch via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jul 18 10:35:29 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 :)


I did it for function templates just now.
It will the instantiated bodys to std-out.



More information about the Digitalmars-d-learn mailing list