From: PGK on
Hi all,

Is there any tool or compiler that will output the result of C++
template instantiation? I think such a thing could be useful for
advanced template code development, and also education.

Cheers,
P.


--
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]

From: Mathias Gaunard on
On Aug 12, 2:03 pm, PGK <graham.k...(a)gmail.com> wrote:
> Hi all,
>
> Is there any tool or compiler that will output the result of C++
> template instantiation? I think such a thing could be useful for
> advanced template code development, and also education.

GCC allows to get the output as GIMPLE, which is still a fairly
readable low-level C-like language.


--
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]