Re: [eigen] StdVector

[ Thread Index | Date Index | More Archives ]

On Tuesday 21 April 2009 13:47:34 Gael Guennebaud wrote:
> rev 957053 should also fix the linkage issue. At least with my trivial
> example it now works. So please, Markus (and others), can you tell us
> if that work for you ?

Sort of. The linker error is obviously gone, but the vector interface is still 
incorrect (it's at least missing a templated constructor from an iterator 
range, which makes existing code fail to compile), and to me it still feels 
very wrong to manipulate std::vector. I like the idea of forcing the user to 
use aligned_allocator _a lot_ better.

> The current solution still only require the inclusion of
> Eigen/StdVector without any other change.

The question remains: is that worth it? And why only for std::vector? (leaving 
the resize problem aside)

PGP key on
Fingerprint is 
90C4 B47D 1A00 5AC1 9147  3197 EDA7 1E0E 99E4 9EDB

Mail converted by MHonArc 2.6.19+