[MPL] sequence from paramater pack
13 Oct
2013
13 Oct
'13
3:20 p.m.
How do you construct a MPL sequence from a variadic template parameter pack?
14 Oct
14 Oct
3:40 a.m.
On 10/13/2013 4:10 PM, Nathan Ridge wrote:
How do you construct a MPL sequence from a variadic template parameter pack?
Should be as simple as:
#include
template
struct make_mpl_vector { typedef boost::mpl::vector type; }; typedef make_mpl_vector
::type type;
Thanks just passing Args... to mpl::vector works wonderfully.
4049
Age (days ago)
4050
Last active (days ago)
2 comments
2 participants
participants (2)
-
Michael Marcin
-
Nathan Ridge