|
Boost Users : |
From: Christian Henning (chhenning_at_[hidden])
Date: 2007-07-03 15:29:37
Hi there, in the process of recompiling my project with boost 1.34. it
seems that tuple_size doesn't work for long tuples anymore.
The following code used to work:
#define FUSION_MAX_MAP_SIZE 20
#define FUSION_MAX_VECTOR_SIZE 20
#include <boost/fusion/sequence.hpp>
#include <boost/fusion/tuple.hpp>
struct A
{
typedef boost::fusion::vector< int
, int
, int
, int
, int
, int
, int
, int
, int
, int
, int
, int > type;
static const std::size_t table_size = boost::fusion::tuple_size<type>::value;
};
int main()
{
return 0;
}
The code does compile when the number of parameters is 10 or less.
Any ideas?
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