[tuple] generating tuples from type lists

Hi, Is it possible to do this trick during compilation time? I was able to go from type lists to boost::cons but I can't find a way to make that last step. Thx. ImRe

Roman Perepelitsa wrote:
writes: Is it possible to do this trick during compilation time? I was able to go from type lists to boost::cons but I can't find a way to make that last step.
Hi,
Maybe boost::fusion can help.
Sure:
typename boost::fusion::result_of::as_vector

Hi,
Is it possible to do this trick during compilation time? I was able to go from type lists to boost::cons but I can't find a way to make that last step.
Not sure what you mean by "that last step..."
namespace mpl = boost::mpl;
using namespace mpl::placeholders;
typedef mpl::vector
participants (4)
-
David Abrahams
-
imre@u-tx.com
-
Joel de Guzman
-
Roman Perepelitsa