$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [MPL] sequence from paramater pack
From: Nathan Ridge (zeratul976_at_[hidden])
Date: 2013-10-13 17:10:09
> How do you construct a MPL sequence from a variadic template parameter pack?
Should be as simple as:
#include <boost/mpl/vector.hpp>
template <typename... Args>
struct make_mpl_vector
{
typedef boost::mpl::vector<Args...> type;
};
typedef make_mpl_vector<int, float, char>::type type;
Regards,
Nate