Subject: [Boost-bugs] [Boost C++ Libraries] #3963: state_machine<>::post_event is not protected
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-02-26 08:32:33
#3963: state_machine<>::post_event is not protected
--------------------------------------------+-------------------------------
Reporter: Arne Babnik <boost@â¦> | Owner: andreas_huber69
Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: statechart
Version: Boost 1.42.0 | Severity: Optimization
Keywords: |
--------------------------------------------+-------------------------------
According to documentation, the member function
state_machine<>::post_event() is protected to ensure that it's only called
from within state reactions. However, in the actual code this function is
declared public, which allows to call it from outside the state machine
with unknown consequences.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3963> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:02 UTC