
On 31.8.2010 21:41, Steven Watanabe wrote:
Michael.Herchel@rohde-schwarz.com wrote:
while building a state machine that also includes submachines, we exceeded the possible max number of MPL vector entries (which is to 50 to my knowledge) for transition tables. Is there an easy way to solve that?
You might find this old post helpful: http://lists.boost.org/Archives/boost/2004/08/70900.php
There are scripts in libs/mpl that generate these headers.
I tried these scripts a while back, also because of msm. I think that this procedure has not been tested for quite a while (years) and is now broken. I recall trying both gcc and msvc for preprocessing, and failed to produce a usable header with either. IIRC with gcc resulting header contained some gcc specific code and msvc choked on it. With msvc resulting header contained some windows API declarations. It is quite possible that I did something wrong - I found no documentation on how to use these scripts. Finally I gave up and used the kludge described in the post referenced above. Meanwhile I managed to trim down the number of transitions in my state machine and got back into vector50 bounds.