Boost logo

Ublas :

From: dvir schirman (dvir.boost_at_[hidden])
Date: 2006-05-23 06:24:28


I see the code isn't clear (problems with the copy/paste I guess)
So, I'm sending the file

On 5/23/06, Gunter Winkler <guwi17_at_[hidden]> wrote:
>
> Am Dienstag, 23. Mai 2006 12:12 schrieb dvir schirman:
> > Hi
> >
> > How can I declare a vector at the header of a class?
> > I tried to write in a header file:
> >
> > ublas::vector<float> cov(3);
> >
> > but I got the following error:
> >
> > simple_env.H:25: error: expected identifier before numeric constant
> > simple_env.H:25: error: expected `,' or `...' before numeric constant
> > simple_env.H:25: error: ISO C++ forbids declaration of `parameter'
> > with no type
>
> Did you include all ublas headers before the above declaration? Was cov
> already used at another place?
>
> Please give more information (or the full header) in order to get help.
>
> mfg
> Gunter
> _______________________________________________
> ublas mailing list
> ublas_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/ublas
>