
5 Sep
2008
5 Sep
'08
4:04 p.m.
typedef boost::mpl::vector< A, B, C > Sequence; typedef typename Question< Sequence >::type Result; BOOST_MPL_ASSERT( boost::mpl::is_same< Result, boost::tuple< A, B, C > >); How write Question? I don't want to write specialisation for every dimension of tuple manually. Implementation should be compatible with the last stable Boost release (1.36) Thank you