Boost logo

Boost Users :

From: Aleksey Gurtovoy (alexy_at_[hidden])
Date: 2003-04-28 14:50:58


> Hello,

Hi Bruce,

>
> I am looking at
> http://www.boost.org/libs/mpl/doc/paper/html/example.html
>
> I have a dumb question or perhaps I am missing something (or both).
>
> Where is the state_machine class template that the player derives from
> using the curiously recurring template pattern?
>
> class player
> : state_machine<player> // where is the code for this class?
> {

The code for the paper's sample is located in the MPL's example directory -
"boost/libs/mpl/example/fsm"
(http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/boost/boost/libs/mpl/example
/fsm/, if you want to browse it online).

HTH,
Aleksey


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