Boost C++ Libraries: Ticket #11249: Compilation fails after including reverse_fold.hpp https://svn.boost.org/trac10/ticket/11249 <p> After including the header file for reverse_fold, compilation fails with the error: </p> <pre class="wiki"> In file included from /usr/include/boost/fusion/algorithm/iteration/reverse_fold.hpp:35: /usr/include/boost/fusion/algorithm/iteration/detail/preprocessed/reverse_fold.hpp:16:29: error: unknown template name 'result_of_with_decltype' : fusion::detail::result_of_with_decltype&lt; </pre><p> Unlike fold.hpp, reverse_fold.hpp never includes the corresponding header file for result_of_with_decltype. </p> <p> The error can be reproduced with the following code: </p> <pre class="wiki"> #include &lt;boost/fusion/algorithm/iteration/reverse_fold.hpp&gt; int main() { } </pre><p> This bug also affects reverse_iter_fold. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11249 Trac 1.4.3 Kohei Takahashi <flast@…> Tue, 05 May 2015 06:02:00 GMT <link>https://svn.boost.org/trac10/ticket/11249#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11249#comment:1</guid> <description> <p> fixed in <a class="ext-link" href="https://github.com/boostorg/fusion/pull/74"><span class="icon">​</span>https://github.com/boostorg/fusion/pull/74</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Joel de Guzman</dc:creator> <pubDate>Fri, 12 Jun 2015 06:50:12 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/11249#comment:2 https://svn.boost.org/trac10/ticket/11249#comment:2 <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> </ul> Ticket