
28 Jan
2011
28 Jan
'11
6:08 p.m.
2011/1/28 Edward Diener <eldiener@tropicsoft.com>
So I try:
template <class T> struct tself : T { };
You did the right thing, and it would be more clear to define it as:
namespace intrinsic { template <class T> struct type { typedef typename T::type type; }; } And used as: typedef typename boost::mpl::transform<tvec, intrinsic::type<_1> >::type ttrans; which makes more sense to me.