Joel de Guzman wrote:
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
vars; fusion::joint_view s3(consts, vars);
Oops, that should be
typedef mpl::vector_c