Re: [boost] Profiling template instantiations

Steven Watanabe wrote:
I only see function template instantiations, I'm more interested in class template instantiations because that's where the metaprogramming is done. Am I missing something?
What example in my previous mail shows is names of member functions of class templates being automatically instantiated, along with template arguments they are instantiated on. The output of verbose template instantiation mode serves us well for building common instantiation libraries and this is, probably, why reporting of class template instantiations was never requested. I'm not suggesting cxx as a replacement for your tool. As I said in the previous mail, this is fyi :-) Thanks, Boris ----- Original Message ----- From: <boost@lists.boost.org> To: <boost@lists.boost.org> Sent: Friday, May 09, 2008 10:38 AM Subject: Re: [boost] Profiling template instantiations
AMDG
Boris Gubenko wrote:
Steven Watanabe wrote:
Ok. It would be great if compilers supported this directly.
Just fyi: the cxx compiler has verbose template instantiation mode. On Tru64, for example:
<snip>
I only see function template instantiations, I'm more interested in class template instantiations because that's where the metaprogramming is done. Am I missing something?
I'd also like to have all template instantiations, not just those that are triggered from inside other template instantiations. (Although this doesn't make a huge difference)
In Christ, Steven Watanabe
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

AMDG Boris Gubenko wrote:
Steven Watanabe wrote:
I only see function template instantiations, I'm more interested in class template instantiations because that's where the metaprogramming is done. Am I missing something?
What example in my previous mail shows is names of member functions of class templates being automatically instantiated, along with template arguments they are instantiated on. The output of verbose template instantiation mode serves us well for building common instantiation libraries and this is, probably, why reporting of class template instantiations was never requested.
I'm not suggesting cxx as a replacement for your tool. As I said in the previous mail, this is fyi :-)
OK. I just thought that iff cxx provided an easy way to get that information, I could process that output rather than using the uglier method of generating warnings. Since I already have support for other compilers, its not that bad though. In Christ, Steven Watanabe
participants (2)
-
Boris Gubenko
-
Steven Watanabe