Boost logo

Boost Users :

From: Christian Henning (chhenning_at_[hidden])
Date: 2006-08-15 18:53:04


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.

Regards,
Christian


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