
17 Jan
2006
17 Jan
'06
8:24 p.m.
David Abrahams wrote:
Tobias Schwinger <tschwinger@neoscientists.org> writes:
Arkadiy Vertleyb wrote:
What's T?
/I/ don't know what T really is (MSVC won't tell me) ;-).
have you tried instantiating an un-defined template on T?
The only problem left is: if add code to deduce the type (to instantiate a template on it) I still won't know what the type was in the context the compiler failed to deduce from for absolutely non-obvious reasons ;-).
template <class T> struct unknown;
then instantiate
unknown<T>
or instantiate boost::mpl::print<T> if this could happen any number of times, to avoid stopping compilation.
Interesting! Never noticed mpl::print before... It must be either new or undocumented... Thanks, Tobias