too many arguments to function ‘boost::fusion::vector

Hi, I got the following error, when I try to define a boost::fusion::vector of many elements. Can somebody let me know how to increase the limit of the number of elements? Thanks, Peng /usr/include/boost/fusion/container/generation/make_vector.hpp|40| error: too many arguments to function 'boost::fusion::vector<boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_> boost::fusion::make_vector()'

On Thu, Aug 7, 2008 at 10:32 PM, Peng Yu <pengyu.ut@gmail.com> wrote:
I got the following error, when I try to define a boost::fusion::vector of many elements. Can somebody let me know how to increase the limit of the number of elements?
Looking at the documentation of make_vector: http://www.boost.org/doc/libs/1_35_0/libs/fusion/doc/html/fusion/container/g... , looks like you can do something like: #define FUSION_MAX_VECTOR_SIZE 20 before including the headers. Stjepan
participants (2)
-
Peng Yu
-
Stjepan Rajko