Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Output Generated From Templates

0 views
Skip to first unread message

PGK

unread,
Aug 12, 2010, 9:03:19 AM8/12/10
to
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! ]

Mathias Gaunard

unread,
Aug 12, 2010, 3:49:08 PM8/12/10
to
On Aug 12, 2:03 pm, PGK <graham.k...@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.

0 new messages