Is there a way to "see" source code generated by templates after a compile?
rikki cattermole via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Jul 16 23:00:20 PDT 2016
On 17/07/2016 5:57 PM, WhatMeWorry wrote:
>
>
> I don't suppose there's a way to "see" source code generated by
> templates after a compile but before execution? Or does the compiler
> generate it to a lower level on the fly; thus losing the source code?
>
> I'm assuming no because if there were a way, I'd of come across it by
> now :)
There isn't and it has been asked for (I for one want it).
> Now that I think about, was there even a way to look at c/c++ code after
> the pre-processor step?
Yup. But that is done by an external tool most of the time.
More information about the Digitalmars-d-learn
mailing list