By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,261 Members | 1,325 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,261 IT Pros & Developers. It's quick & easy.

Template Expansion

P: n/a
Is it possible to see what template instantiations expand to? It would
be very usful in debugging template metaprograms. I use Visual C++ 2003.
Jul 22 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Robin Eidissen wrote:
Is it possible to see what template instantiations expand to? It would
be very usful in debugging template metaprograms. I use Visual C++ 2003.


You could use Comeau C++ (it's a front-end compiler, producing C code
from your C++) to generate the C code, but I cannot seriously advise
anybody to use it since the output must be relatively cryptic.

I do not know of any other tools that could do what you ask. If your
compiler can do that, people in the newsgroup dedicated to that compiler
should know...

V
Jul 22 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.