Boost logo

Boost Users :

From: Stefan Strasser (sstrasser_at_[hidden])
Date: 2005-04-02 05:27:31


Stefan Strasser schrieb:
>
> this code has always been working on gcc but doesn't on icc, can anyone
> tell me what's wrong here:
>
> typedef
> mpl::copy<AMplVector,mpl::back_inserter<mpl::vector<AnotherMplVector> >
> >::type Type;

sorry, I've made a mistake here: "AnotherMplVector" instead of
"mpl::vector<AnotherMplVector>".
I confused this while writing the email because the original code line
is a #define with mpl::vector<__VA_ARGS__>.
the error message below is the result of the original code of course.

>
>
> I removed namespace qualifiers and so on from the error message but it's
> still not very readable:
>
> detected during:
> instantiation of class "mpl::aux::fold_impl<4, First, Last,
> State, ForwardOp> [with ...
>
>
> /usr/include/boost/mpl/aux_/preprocessed/plain/fold_impl.hpp(115):
> error: class "mpl::apply2<mpl::inserter<mpl::vector<Element,
> Declaration, NameDeclaration, Member, MemberClassifier,
> TemplateDeclaration, TemplateClassifier, MemberTemplateClassifier
> , Type, Classifier, Class, MemberClass, TemplateClass,
> MemberClassifierDefinition,
> ClassifierDefinition, TemplateClassifierDefinition,
> ClassDefinition, mpl::na, mpl::na, mpl::na>, mpl::push
> _back<mpl::na, mpl::na>>::operation, mpl::aux::fold_impl<4,
> mpl::begin<MemberTemplateClassDefinitionImpl::Bases>::type, mpl::en
> d<MemberTemplateClassDefinitionImpl::Bases>::type,
> mpl::inserter<mpl::vector<Element, Declaration,
> NameDeclaration, Member, MemberClassifier,
> TemplateDeclaration, TemplateClassifier, MemberTemplateClassifie
> r, Type, Classifier, Class, MemberClass, TemplateClass,
> MemberClassifierDefinition, ClassifierDefinition,
> TemplateClassifierDefinition, ClassDefinition, mpl::na, mpl::na,
> mpl::na>, mpl::push_back<mpl::na,
> mpl::na>>::state, mpl::inserter<mpl::vector<Element,
> Declaration, NameDeclaration, Member, Memb
> erClassifier, TemplateDeclaration, TemplateClassifier,
> MemberTemplateClassifier, Type, Classifier, Class, Me
> mberClass, TemplateClass, MemberClassifierDefinition,
> ClassifierDefinition, TemplateClassifierDefinition,
> ClassDefinition, mpl::na, mpl::na, mpl::na>,
> mpl::push_back<mpl::na, mpl::na>>::operation>::state3, mpl
> ::deref<mpl::aux::fold_impl<4,
> mpl::begin<MemberTemplateClassDefinitionImpl::Bases>::type,
> mpl::end<MemberTemplateClassDefinitionImp
> l::Bases>::type, mpl::inserter<mpl::vector<Element, Declaration,
> NameDeclaration, Member,
> MemberClassifier, TemplateDeclaration, TemplateClassifier,
> MemberTemplateClassifier, Type, Classifier, Class, MemberClass,
> TemplateClass, MemberClassifierDefinition, ClassifierDefinition,
> TemplateClassifierDefinition, ClassDefinition, mpl::na, mpl::na,
> mpl::na>, mpl::push_back<mpl::na, mpl::na>>::state,
> mpl::inserter<mpl::vector<Element, Declaration,
> NameDeclaration, Member, MemberClassifier, Te
> mplateDeclaration, TemplateClassifier, MemberTemplateClassifier, Type,
> Classifier, Class, MemberClass, Templ
> ateClass, MemberClassifierDefinition, ClassifierDefinition,
> TemplateClassifierDefinition, ClassDefinition,
> mpl::na, mpl::na, mpl::na>, mpl::push_back<mpl::na,
> mpl::na>>::operation>::iter3>::type>"
>
> has no member "type"
>
> typedef typename apply2< ForwardOp, state3, typename
> deref<iter3>::type >::type state4;
>
>
>
> regards,

-- 
Stefan Strasser

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net