Re: [Boost-bugs] [Boost C++ Libraries] #3963: state_machine<>::post_event is not protected

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3963: state_machine<>::post_event is not protected
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-04-04 10:18:30


#3963: state_machine<>::post_event is not protected
--------------------------------------------+-------------------------------
 Reporter: Arne Babnik <boost@…> | Owner: andreas_huber69
     Type: Bugs | Status: assigned
Milestone: Boost 1.43.0 | Component: statechart
  Version: Boost 1.42.0 | Severity: Optimization
 Keywords: |
--------------------------------------------+-------------------------------

Comment(by andreas_huber69):

 post_event will be made protected. Unfortunately, it *must* forward to a
 public implementation function, because that is also called from
 simple_state<>::post_event and template friend support is spotty in some
 popular compilers. However, I'll add an assert that catches calls to the
 implementation function, that are made when no event is currently being
 processed.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3963#comment:3>
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