Re: [Boost-bugs] [Boost C++ Libraries] #9525: Assert with program termination due to context<...>() call in simple_state's entry action is incorrect

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9525: Assert with program termination due to context<...>() call in simple_state's entry action is incorrect
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-01-20 13:18:21


#9525: Assert with program termination due to context<...>() call in
simple_state's entry action is incorrect
-------------------------------+-----------------------------
  Reporter: anonymous | Owner: andreas_huber69
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: statechart
   Version: Boost 1.49.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+-----------------------------

Comment (by anonymous):

 It says "must not call", but it doesn't say *anything* about getting an
 assert and the program termination when you make a mistake (e.g. add
 context() call to a simple_state constructor but forget to change
 simple_state into state). Is this really the only way you can say "you've
 made a mistake" here?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9525#comment:2>
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:15 UTC