Subject: [Boost-bugs] [Boost C++ Libraries] #6338: push_front.hpp completely broken
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-12-31 03:38:15
#6338: push_front.hpp completely broken
------------------------------+---------------------------------------------
Reporter: smr@⦠| Owner: djowel
Type: Bugs | Status: new
Milestone: To Be Determined | Component: fusion
Version: Boost 1.48.0 | Severity: Problem
Keywords: |
------------------------------+---------------------------------------------
The following simple file does not compile with gcc 4.6.2 on linux:
{{{
#include <boost/fusion/algorithm/transformation/push_front.hpp>
}}}
Compile errors:
{{{
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 â<â token
/usr/include/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp:128:47:
error: expected â>â before â<â 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<Stack, Size>::type
boost::fusion::detail::make_segment_sequence_front<Stack,
Size>::call(const Stack&)â:
/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 â<â token
/usr/include/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp:405:51:
error: expected â>â before â<â 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<class Sequence, class T> 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<StackBegin, StackEnd,
SameSegment>::type
boost::fusion::detail::make_segmented_range_reduce2<StackBegin, StackEnd,
SameSegment>::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â
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6338> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:08 UTC