Boost logo

Boost Users :

From: Andreas Huber (ahd6974-spamboostorgtrap_at_[hidden])
Date: 2008-04-30 12:35:39


Hi Igor

> So I parametrised all the states, moved the implementation to the
> header file, and... it ceased to compile! Now it says: "1>d:\dev\
> servision\projects\windows\thirdparty\boost\boost\statechart\
> simple_state.hpp(188) : error C2039: 'inner_context_type' : is
> not a member of 'StreamSession::Active<StreamType>'"
>
> Where StreamSession is my asynchronous_state_machine, and
> the Active is the outermost state. The error occures when trying
> to instantiate the initial inner state of Active.

> So I'll appreciate any idea about the cause of the above error,

Have you read
<http://www.boost.org/doc/libs/1_35_0/libs/statechart/doc/faq.html#TemplatedStates>?

> as well as about the approach in general - is it ok or I missuse the
> framework.

I don't have a lot of time right now, I'll have a closer look later.

Regards,

-- 
Andreas Huber
When replying by private email, please remove the words spam and trap
from the address shown in the header. 

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