[fusion] Fill Em Up example doesn't compile
Hi there, I'm using VC7.1 and I try to compile the fill_em_up example
I found in the cookbook example folder. Unfortunately the it doesn't
compile. I have updated my boost to the latest CVS version. Here are
the error messages:
c:\boost\boost\fusion\sequence\adapted\mpl\mpl_iterator.hpp(32) :
error C2039: 'category' : is not a member of
'boost::mpl::fusion_iterator<Iterator>'
......
c:\boost\boost\fusion\sequence\adapted\mpl\mpl_iterator.hpp(32) :
error C2146: syntax error : missing ',' before identifier 'category'
c:\boost\boost\fusion\sequence\adapted\mpl\mpl_iterator.hpp(32) :
error C2065: 'category' : undeclared identifier
c:\boost\boost\fusion\sequence\adapted\mpl\mpl_iterator.hpp(32) :
error C2976: 'boost::fusion::detail::mpl_iterator_category' : too few
template arguments
c:\boost\boost\fusion\support\detail\mpl_iterator_category.hpp(28)
: see declaration of 'boost::fusion::detail::mpl_iterator_category'
c:\boost\boost\fusion\sequence\adapted\mpl\mpl_iterator.hpp(32) :
error C2955: 'boost::fusion::detail::mpl_iterator_category' : use of
class template requires template argument list
c:\boost\boost\fusion\support\detail\mpl_iterator_category.hpp(28)
: see declaration of 'boost::fusion::detail::mpl_iterator_category'
c:\boost\boost\fusion\sequence\adapted\mpl\mpl_iterator.hpp(32) :
error C2955: 'boost::fusion::detail::mpl_iterator_category' : use of
class template requires template argument list
c:\boost\boost\fusion\support\detail\mpl_iterator_category.hpp(28)
: see declaration of 'boost::fusion::detail::mpl_iterator_category'
c:\boost\boost\fusion\sequence\adapted\mpl\mpl_iterator.hpp(32) :
error C2027: use of undefined type
'boost::fusion::detail::mpl_iterator_category'
c:\boost\boost\fusion\support\detail\mpl_iterator_category.hpp(28)
: see declaration of 'boost::fusion::detail::mpl_iterator_category'
c:\boost\boost\fusion\sequence\adapted\mpl\mpl_iterator.hpp(33) :
error C2146: syntax error : missing ';' before identifier 'category'
c:\boost\boost\fusion\sequence\adapted\mpl\mpl_iterator.hpp(33) :
error C2501: 'boost::fusion::mpl_iterator<Iterator>::category' :
missing storage-class or type specifiers
with
[
Iterator=boost::fusion::extension::begin_implboost::fusion::mpl_sequence_tag::apply
Christian Henning wrote:
Hi there, I'm using VC7.1 and I try to compile the fill_em_up example I found in the cookbook example folder. Unfortunately the it doesn't compile. I have updated my boost to the latest CVS version. Here are the error messages:
c:\boost\boost\fusion\sequence\adapted\mpl\mpl_iterator.hpp(32) : error C2039: 'category' : is not a member of 'boost::mpl::fusion_iterator<Iterator>'
Fixed. Missing include. Thanks for reporting. Regards, -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net
participants (2)
-
Christian Henning
-
Joel de Guzman