Opened 10 years ago
Closed 10 years ago
#8378 closed Bugs (fixed)
MSM: doc: incorrect example
Reported by: | Owned by: | Christophe Henry | |
---|---|---|---|
Milestone: | Boost 1.54.0 | Component: | msm |
Version: | Boost 1.54.0 | Severity: | Cosmetic |
Keywords: | Cc: |
Description
The example at the beginning of http://www.boost.org/doc/libs/1_53_0/libs/msm/doc/HTML/ch03s03.html is still using g_row and other &player_::.
Also, the example which is just after
struct store_cd_info { template <class Fsm,class Evt,class SourceState,class TargetState> void operator()(Evt const&, Fsm& fsm, SourceState&,TargetState& ) { cout << "player::store_cd_info" << endl; fsm.process_event(play()); } };
has a very funky indentation for the second line of the function's body.
Change History (2)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Milestone: | To Be Determined → Boost 1.54.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Version: | Boost 1.53.0 → Boost 1.54.0 |
Indentation fixed.
Note:
See TracTickets
for help on using tickets.
Ok for the indentation, will be done for 1.54. The g_row is intentional as stated: "It is also possible to mix rows from different front-ends. To show this, a g_row has been left in the transition table"