
13 Oct
2013
13 Oct
'13
9:10 p.m.
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