Boost logo

Boost Users :

From: Andreas Huber (ahd6974-spamboostorgtrap_at_[hidden])
Date: 2007-07-24 04:44:01


Hi Jiang

> I have solve the problem.
> I missing terminate function.
> Modify source file
> int main(int argc, char* argv[])    {  
>  Human human;    human.initiate();+ human.terminate();
>     return 0;    }

Exactly, the problem arised because you tried to access the state_machine<>
subclass portion at a point where it had already had its destructor executed.

I will update the documentation accordingly.

Thanks & 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