|
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