how to create a tuple from an mpl sequence?

I've got some mpl sequence from which I want to create a tuple. Anybody any clue? I also looked into fusion (why is there so much overlap to mpl?) but did not find anything. Tried fusion::result_of::push_back without much success. Tried fusion::vector with fusion::result_of::push_back . Does this functionality exist? Peter

On Mar 15, 2011, at 12:01 AM, Peter Foelsche wrote:
I've got some mpl sequence from which I want to create a tuple. Anybody any clue? I also looked into fusion (why is there so much overlap to mpl?) but did not find anything. Tried fusion::result_of::push_back without much success. Tried fusion::vector with fusion::result_of::push_back .
Does this functionality exist?
http://answerpot.com/showthread.php?1598630-Generating+a+fusion+sequence+typ... I've often found this area a little confusing too, and will think about how it could be documented better. Cheers, Gordon
participants (2)
-
Gordon Woodhull
-
Peter Foelsche