Boost C++ Libraries: Ticket #6338: push_front.hpp completely broken https://svn.boost.org/trac10/ticket/6338 <p> The following simple file does not compile with gcc 4.6.2 on linux: </p> <pre class="wiki">#include &lt;boost/fusion/algorithm/transformation/push_front.hpp&gt; </pre><p> Compile errors: </p> <pre class="wiki">In file included from /usr/include/boost/fusion/view/iterator_range/detail/segments_impl.hpp:13:0, from /usr/include/boost/fusion/view/iterator_range/iterator_range.hpp:21, from /usr/include/boost/fusion/view/iterator_range.hpp:10, from /usr/include/boost/fusion/sequence/intrinsic/detail/segmented_begin.hpp:12, from /usr/include/boost/fusion/sequence/intrinsic/begin.hpp:17, from /usr/include/boost/fusion/view/joint_view/joint_view.hpp:13, from /usr/include/boost/fusion/algorithm/transformation/push_front.hpp:11, from transformation_push_front.cc:1: /usr/include/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp:128:37: error: ‘push_front’ in namespace ‘boost::fusion::result_of’ does not name a type /usr/include/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp:128:47: error: expected template-argument before ‘&lt;’ token /usr/include/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp:128:47: error: expected ‘&gt;’ before ‘&lt;’ token /usr/include/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp:132:13: error: template argument 1 is invalid /usr/include/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp:133:9: error: expected ‘::’ before ‘type’ /usr/include/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp: In static member function ‘static boost::fusion::detail::make_segment_sequence_front&lt;Stack, Size&gt;::type boost::fusion::detail::make_segment_sequence_front&lt;Stack, Size&gt;::call(const Stack&amp;)’: /usr/include/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp:142:17: error: ‘push_front’ is not a member of ‘boost::fusion’ /usr/include/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp: At global scope: /usr/include/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp:405:41: error: ‘push_front’ in namespace ‘boost::fusion::result_of’ does not name a type /usr/include/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp:405:51: error: expected template-argument before ‘&lt;’ token /usr/include/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp:405:51: error: expected ‘&gt;’ before ‘&lt;’ token /usr/include/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp:410:17: error: wrong number of template arguments (1, should be 2) /usr/include/boost/fusion/algorithm/transformation/push_back.hpp:19:16: error: provided for ‘template&lt;class Sequence, class T&gt; struct boost::fusion::result_of::push_back’ /usr/include/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp:411:13: error: template argument 1 is invalid /usr/include/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp:412:9: error: expected ‘::’ before ‘type’ /usr/include/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp: In static member function ‘static boost::fusion::detail::make_segmented_range_reduce2&lt;StackBegin, StackEnd, SameSegment&gt;::type boost::fusion::detail::make_segmented_range_reduce2&lt;StackBegin, StackEnd, SameSegment&gt;::call(StackBegin, StackEnd)’: /usr/include/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp:426:21: error: ‘push_front’ is not a member of ‘boost::fusion’ </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6338 Trac 1.4.3 smr@… Sat, 31 Dec 2011 04:03:31 GMT attachment set https://svn.boost.org/trac10/ticket/6338 https://svn.boost.org/trac10/ticket/6338 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">diff</span> </li> </ul> <p> Cheap fix </p> Ticket Joel de Guzman Sat, 31 Dec 2011 05:51:40 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/6338#comment:1 https://svn.boost.org/trac10/ticket/6338#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> </ul> Ticket smr@… Sat, 31 Dec 2011 06:01:15 GMT <link>https://svn.boost.org/trac10/ticket/6338#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6338#comment:2</guid> <description> <p> What fix was applied? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Sat, 31 Dec 2011 13:18:02 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6338#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6338#comment:3</guid> <description> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/76238" title="Fix for ticket #6338">[76238]</a> </p> </description> <category>Ticket</category> </item> <item> <author>smr@…</author> <pubDate>Wed, 01 Feb 2012 04:05:39 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6338#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6338#comment:4</guid> <description> <p> Can this be pushed to release, please? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Joel de Guzman</dc:creator> <pubDate>Thu, 02 Feb 2012 06:50:22 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6338#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6338#comment:5</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/6338#comment:4" title="Comment 4">smr@…</a>: </p> <blockquote class="citation"> <p> Can this be pushed to release, please? </p> </blockquote> <p> Just did that 2 days. Pls. check it out (don't have access to my dev system right now). Is there still a problem? </p> </description> <category>Ticket</category> </item> <item> <author>Steve Robbins <smr@…></author> <pubDate>Mon, 20 Feb 2012 21:42:20 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6338#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6338#comment:6</guid> <description> <p> Confirmed it is in release (tested Release Candidate of Feb 20). </p> </description> <category>Ticket</category> </item> </channel> </rss>