$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-07-10 00:03:38
AMDG
Cory Nelson wrote:
> Is there anything in boost that creates a tuple of the types in a MPL sequence
#include <boost/tuple/tuple.hpp>
#include <boost/mpl/vector.hpp>
#include <boost/mpl/reverse_fold.hpp>
#include <boost/mpl/assert.hpp>
#include <boost/type_traits/is_same.hpp>
typedef boost::mpl::vector<int, char, double> types;
typedef boost::mpl::reverse_fold<types, boost::tuples::null_type,
boost::tuples::cons<boost::mpl::_2, boost::mpl::_1> >::type tuple_type;
In Christ,
Steven Watanabe