
15 Aug
2006
15 Aug
'06
8:36 p.m.
Christian Henning wrote:
That's work in my sample code. Thanks.
But what happens if the S structs are more heterogenious? Like:
struct s3 { static const int num_values = 4;
int i; float j; int k; double l; };
I'm sure there is some mpl magic possible.
Fusion! :-) mpl::vector_c<4> consts; fusion::vector<int, float, int, double> vars; fusion::joint_view<consts, vars> s3(consts, vars); Regards, -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net