Boost logo

Boost Users :

Subject: Re: [Boost-users] uBlas: compiler error (Borland 2007)
From: Thomas Klimpel (Thomas.Klimpel_at_[hidden])
Date: 2009-02-16 11:24:02


Hendrik Fuß wrote:
> should compile alright, shouldn't it?

Yes, it should compile.

> The compiler says:
>
> [BCC32 Error] matrix.hpp(2671): E2247 'identity_matrix<double,std::allocator<double> >::one_' is not accessible

I have no idea what the compiler wants to tell me here. Does it means that the nested class is not allowed to access this private member? I also have no ideas about the access rules to private members for nested classes.

A simple fix would be to replace "one_" with "1" in the places where the compiler complains, but...

> The same happens if I use the assignment operator instead of copy
> construction. Can anyone help me?

There is a special mailing list for ublas, where you are more likely to get help.

Regards,
Thomas


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