|
Boost Users : |
From: fuxiaowei (fuxiaowei9999_at_[hidden])
Date: 2003-12-01 08:52:38
I have tried the method but no use. The error still occur. In the matrix_expression.hpp,the const_itertaor2 class have be derclare before then define later as an embeded class. I find all errors happan in the embeded class define and report
"error C2027: use of undefined type 'boost::numeric::ublas::matrix_binary_scalar2<E1,E2,F>::const_iterator2 ........"
but the class would actually declare
----- Original Message -----
From: <cyril.godart_at_[hidden]>
Newsgroups: gmane.comp.lib.boost.user
Sent: Thursday, November 27, 2003 11:24 PM
Subject: Re: Re: ublas + msvc 7.1
>
>
>
>
> I have noticed something similar with msvc 7.1. Could you try please to
> locate
> the first occurence of the error and prefix any template deduced type with
> "typename".
> In the example you give:
>
> typename boost::numeric::SOME_MATRIX_TYPE<ARGS>::const_iterator2
>
> and check that this precise compile error disappears ? (I have realised the
> code
> is boost::ublas').
> This does not intend to solve your problem but to point to what vc7.1 is
> expecting.
> I am not sure whether that should be strict ISO C++.
>
> Regards,
>
> Cyril Godart.
>
>
>
> Internet
> fuxiaowei9999_at_[hidden]@lists.boost.org - 25/11/2003 12:21
>
>
> Please respond to boost-users_at_[hidden]
>
> Sent by: boost-users-bounces_at_[hidden]
>
> To: boost-users
>
> cc:
>
>
> Subject: [Boost-users] Re: ublas + msvc 7.1
>
>
> Hi Whittley:
> I think this may be a bug in VC7.1. I try it successly under VC6.0 and
> find that the ublas is develop under VC6.0 with Dinkumware STL in its
> document.
> Yours
> f_x_w
> ----- Original Message -----
> From: "Witz" <witz_at_[hidden]>
> Newsgroups: gmane.comp.lib.boost.user
> Sent: Monday, November 24, 2003 9:09 AM
> Subject: ublas + msvc 7.1
>
>
> > hi,
> >
> > I seem to be having problems with ublas in combination with msvc 7.1.
> > Compiling the code below results in a whole slew of errors of the form:
> >
> > 'use of undefined type
> > 'boost::numeric::SOME_MATRIX_TYPE<ARGS>::const_iterator2'
> >
> > Am i doing something dumb or is something broken?
> >
> > #include <boost/numeric/ublas/triangular.hpp>
> >
> > int main()
> > {
> > using namespace boost::numeric::ublas;
> > triangular_matrix<int,lower> ldm(4,4);
> > }
> >
> > I.M.Whittley
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
>
>
>
>
>
> This message and any attachments (the "message") is
> intended solely for the addressees and is confidential.
> If you receive this message in error, please delete it and
> immediately notify the sender. Any use not in accord with
> its purpose, any dissemination or disclosure, either whole
> or partial, is prohibited except formal approval. The internet
> can not guarantee the integrity of this message.
> BNP PARIBAS (and its subsidiaries) shall (will) not
> therefore be liable for the message if modified.
>
> ---------------------------------------------
>
> Ce message et toutes les pieces jointes (ci-apres le
> "message") sont etablis a l'intention exclusive de ses
> destinataires et sont confidentiels. Si vous recevez ce
> message par erreur, merci de le detruire et d'en avertir
> immediatement l'expediteur. Toute utilisation de ce
> message non conforme a sa destination, toute diffusion
> ou toute publication, totale ou partielle, est interdite, sauf
> autorisation expresse. L'internet ne permettant pas
> d'assurer l'integrite de ce message, BNP PARIBAS (et ses
> filiales) decline(nt) toute responsabilite au titre de ce
> message, dans l'hypothese ou il aurait ete modifie.
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