AMDG ???? ????? wrote:
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
#include
::type type; };
typedef Question< Sequence >::type Result; BOOST_MPL_ASSERT((boost::is_same< Result, boost::tuple< A, B, C > >)); In Christ, Steven Watanabe