http://www.talkaboutprogramming.com/group/comp.lang.c++.moderated/messages/160260.html
[snip] Is there any way to get information about the template arguments during instantiation? [snip]
無理なんじゃないの・・・と思ったら
http://www.talkaboutprogramming.com/group/comp.lang.c++.moderated/messages/160343.html
[snip] You could instantiate boost::mpl::printfrom within your template (see http://www.boost.org/boost/mpl/print.hpp). It's been tuned to generate warnings that will show you what T is on many compilers. [snip]
出来るのかー!!何?warningとして型を表示するってこと?なんか苦肉の策っぽくないか,それって?後で実験してみるか.