Re: [eigen] StdVector again

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


2009/8/29 Benoit Jacob <jacob.benoit.1@xxxxxxxxx>:
> 2009/8/29 Markus Moll <markus.moll@xxxxxxxxxxxxxxxx>:
>> However, I think that it would be a good idea to introduce something like
>> NewStdVector in 2.0. How about implementing that via #ifdefs in StdVector? In
>> my opinion it's slightly easier to remove -DEIGEN_USE_NEW_STDVECTOR from the
>> compile flags once 2.1 is out...
>
> Good idea!
>
> Doing it now.

OK, this is done.

Now you can just do:

#define EIGEN_USE_NEW_STDVECTOR
#include <Eigen/StdVector>

or alternatively:

#include <Eigen/NewStdVector>

Benoit



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/