From: PGK on 11 Aug 2010 22:03 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 12 Aug 2010 04:49 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! ]
|
Pages: 1 Prev: STL implementation of list::sort Next: Is this a valid optimisation? |