Boost C++ Libraries: Ticket #8682: Doc: Wrong Use of func_state<> template https://svn.boost.org/trac10/ticket/8682 <p> In the example of the section </p> <h2 class="section" id="Definingstateswithentryexitactions">Defining states with entry/exit actions</h2> <p> on <a href="http://www.boost.org/doc/libs/1_53_0/libs/msm/doc/HTML/ch03s03.html">http://www.boost.org/doc/libs/1_53_0/libs/msm/doc/HTML/ch03s03.html</a> the template parameters for <em>func_state&lt;&gt;</em> are wrong. I guess it should be: </p> <pre class="wiki">struct Empty : public msm::front::euml::func_state&lt;Empty,Empty_Entry,Empty_Exit&gt;{}; </pre><p> (I added the first template parameter <strong><em>Empty</em></strong>) </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8682 Trac 1.4.3 Christophe Henry Wed, 18 Sep 2013 19:09:01 GMT status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/8682#comment:1 https://svn.boost.org/trac10/ticket/8682#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.55.0</span> </li> </ul> <p> Correct. Should be: struct Empty_tag {}; typedef msm::front::euml::func_state&lt;Empty_tag,Empty_Entry,Empty_Exit&gt; Empty; </p> Ticket