Boost logo

Boost Users :

From: Stjepan Rajko (stipe_at_[hidden])
Date: 2008-08-08 02:25:38


On Thu, Aug 7, 2008 at 10:32 PM, Peng Yu <pengyu.ut_at_[hidden]> 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/generation/functions/make_vector.html

, looks like you can do something like:

#define FUSION_MAX_VECTOR_SIZE 20

before including the headers.

Stjepan


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