Boost C++ Libraries: Ticket #4697: [fusion]fold with join functor fails compile in category_of.hpp https://svn.boost.org/trac10/ticket/4697 <p> when the attached fold_join is compiled, it produces a compile error shown in the attached fold_join.compile. </p> <p> However, when <a class="ext-link" href="http://svn.boost.org/svn/boost/sandbox/SOC/2009/fusion/"><span class="icon">​</span>http://svn.boost.org/svn/boost/sandbox/SOC/2009/fusion/</a> in in the include path, it compiles and runs OK producing output: </p> <p> v1=(tu&lt;1&gt;(100) tu&lt;1&gt;(b) tu&lt;1&gt;(300.1)) v2=(tu&lt;2&gt;(100) tu&lt;2&gt;(b) tu&lt;2&gt;(300.1)) v3=(tu&lt;3&gt;(100) tu&lt;3&gt;(b) tu&lt;3&gt;(300.1)) fold(vv,state0,join_ftor())=(tu&lt;1&gt;(100) tu&lt;1&gt;(b) tu&lt;1&gt;(300.1) tu&lt;2&gt;(100) tu&lt;2&gt;(b) tu&lt;2&gt;(300.1) tu&lt;3&gt;(100) tu&lt;3&gt;(b) tu&lt;3&gt;(300.1)) </p> <p> The non-variadic fusion should produce the same output since no variadic templates are being used. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4697 Trac 1.4.3 cppljevans@… Wed, 29 Sep 2010 17:58:02 GMT attachment set https://svn.boost.org/trac10/ticket/4697 https://svn.boost.org/trac10/ticket/4697 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">fold_join.cpp</span> </li> </ul> <p> source file </p> Ticket cppljevans@… Wed, 29 Sep 2010 18:00:54 GMT attachment set https://svn.boost.org/trac10/ticket/4697 https://svn.boost.org/trac10/ticket/4697 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">fold_join.compilation.nonvar_fusion</span> </li> </ul> <p> compilation with nonvariadic funsion output </p> Ticket cppljevans Wed, 06 Oct 2010 12:55:16 GMT component changed; owner set https://svn.boost.org/trac10/ticket/4697#comment:1 https://svn.boost.org/trac10/ticket/4697#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Joel de Guzman</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">fusion</span> </li> </ul> Ticket Christopher Schmidt Wed, 06 Oct 2010 16:57:42 GMT type changed https://svn.boost.org/trac10/ticket/4697#comment:2 https://svn.boost.org/trac10/ticket/4697#comment:2 <ul> <li><strong>type</strong> <span class="trac-field-old">Bugs</span> → <span class="trac-field-new">Feature Requests</span> </li> </ul> <p> <a class="ext-link" href="http://article.gmane.org/gmane.comp.lib.boost.user/62731"><span class="icon">​</span>http://article.gmane.org/gmane.comp.lib.boost.user/62731</a> </p> Ticket cppljevans Wed, 06 Oct 2010 19:12:09 GMT <link>https://svn.boost.org/trac10/ticket/4697#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4697#comment:3</guid> <description> <p> Solved in trunk(1.45), according to: </p> <p> <a class="ext-link" href="http://article.gmane.org/gmane.comp.lib.boost.user/62735"><span class="icon">​</span>http://article.gmane.org/gmane.comp.lib.boost.user/62735</a> </p> <p> which I've tested and found it to work. </p> <p> Thanks Christopher. </p> </description> <category>Ticket</category> </item> </channel> </rss>