
Andreas Huber wrote:
It is getting late here in Switzerland. I've tried several things, nothing worked and I don't have much of a clue at the moment. The fact that two independent compilers choke on this pretty much rules out a compiler bug. I think a library bug isn't likely either as everything works when you make the innermost state non-templated. Moreover, the newest version of TransitionTest.cpp (checked in yesterday) seems to work perfectly on a number of platforms. That test does something very similar to what you try to do. I can't currently see any other explanation than that we must both be missing something. The attached program is what I got after throwing out all the unnecessary stuff. It compiles on MSVC, but as soon as you uncomment the commented parts it complains with "'inner_context_type' : is not a member of 'NormalMode<Type>'". Tomorrow I'll try to reduce it to something that hasn't anything to do with Boost.Statechart...
Believe me, I share your pain, bewilderment and frustration. I wonder if anyone else on the Boost developers list or someone on comp.lang.c++.moderated would have any insight. -Dave