
9 Sep
2010
9 Sep
'10
2:55 a.m.
AMDG Hicham Mouline wrote:
I tried both ways:
boost::mpl::print<result_type> myvar;
and
template <typename T> struct print_error { }; typedef typename print_error<result_type>::type my_print_error; my_print_error myvar;
In both cases, the bit in the error in msvc2008 just shows:
1> with 1> [ 1> T=result_type 1> ]
it doesn't print what that type actually is.
MSVC does this for typedefs except when they are declared in a class template. Unfortunately, I don't know of any way to get MSVC to print the actual type in other cases. In Christ, Steven Watanabe