|
Boost Users : |
Subject: [Boost-users] Boost::mpl vector product
From: Allan Nielsen (a_at_[hidden])
Date: 2012-01-22 09:38:51
Hi
If I have two mpl vectors: v1 and v2
typedef boost::mpl::vector<char, short, int> v1;
typedef boost::mpl::range_c<int,0,4> v2;
Does boost then provide any tools for constructing the type:
boost::mpl::vector<
boost::mpl::pair< int_<0>, char >,
boost::mpl::pair< int_<1>, char >,
boost::mpl::pair< int_<2>, char >,
boost::mpl::pair< int_<3>, char >,
boost::mpl::pair< int_<0>, short >,
boost::mpl::pair< int_<1>, short >,
boost::mpl::pair< int_<2>, short >,
boost::mpl::pair< int_<3>, short >,
boost::mpl::pair< int_<0>, int >,
boost::mpl::pair< int_<1>, int >,
boost::mpl::pair< int_<2>, int >,
boost::mpl::pair< int_<3>, int >
>
Best regards
Allan W. Nielsen
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