Boost logo

Boost Users :

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


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