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

WhatMeWorry via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jul 18 08:49:50 PDT 2016


On Monday, 18 July 2016 at 07:37:27 UTC, lobo wrote:
> On Sunday, 17 July 2016 at 05:57:52 UTC, WhatMeWorry wrote:
>>
> [snip]
>
>>
>> Now that I think about, was there even a way to look at c/c++ 
>> code after the pre-processor step?
>
> Does this do what you want?
>
> cl.exe /E
> gcc -E
> clang -E
> clang-cl /E

i appreciate the reply but you're about 20 years too late :)  
Thankfully, my c/c++ days are long gone.  Long live D.


More information about the Digitalmars-d-learn mailing list