|
Boost Users : |
Subject: [Boost-users] Boost.MPL.Vector -> Boost.Tuple
From: ïÌÅÇ ãÁÒÅ× (zabivator_at_[hidden])
Date: 2008-09-05 12:04:58
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net