Boost logo

Boost :

Subject: Re: [boost] [msm] need to increase the fusion set and map size to 30
From: Christophe Henry (christophe.j.henry_at_[hidden])
Date: 2011-06-05 16:06:42


>>> So i added these two statements at the beginning, and this solved the
>>> problem.
>>>
>>> # define FUSION_MAX_SET_SIZE 30
>>> # define FUSION_MAX_VECTOR_SIZE 30
>>>
>>> Perhaps we can add this somewhere in the doc.
>>
>> Hi Kim,
>>
>> Maybe I should make this subject more visible.
>> It is described here:
>> http://www.boost.org/doc/libs/1_46_1/libs/msm/doc/HTML/ch05.html
>>
>> I think that FUSION_MAX_VECTOR_SIZE is actually enough, but it's only
>> due to the fact that set is implemented in terms of vector (to be
>> exact, as I only use fusion::set, FUSION_MAX_SET_SIZE ought to be
>> enough, but it's not, so I suppose it's a fusion bug).
>
> Care to provide a patch?
>
> Regards,
> --
> Joel de Guzman
> http://www.boostpro.com
> http://boost-spirit.com

I don't mind trying but frankly, you're more apt than me to do this and I
had my own bugs to fix. I attach a patch which works for me but more, I
can't guarantee.

Regards,
Christophe




Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk