Re: [eigen] StdVector again |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] StdVector again
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Sat, 29 Aug 2009 12:21:24 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=p0NKUzNtciM3i6C9fnnUpnU4tWFG9wohzJ2hAvmU6CI=; b=fgeQphDTqYBQik3dFOKkeXUBwplidxuZvAg8qc/1cW7XhDNYOTRdS4xgH/Eh/0cGGE 02llxUXAsHAdzBS2A13yutegqxgD70CFWu8L4RV0Lo77YIXW7k0Xjs61Wh5djVbTZ7jV Qe+3ZmnXHzhHyeOKq5vJZo2SApL6Pc3xeLF/k=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Iuqc8FPlgidz+vkW8EDLWCEYjGcJWuEvkvNEBr/rQ8JI+FRFNjHK6skmxKV6LXgY44 YPCCGdcNA0ape2m3z3bMVPcIQ3qsTVBcy+leRCG/7f9l0QF84fMYNdGm/polOnP10ZXD GzW8eWz62rjc0xtWW58Mrfz/UgzoPfcu0vxz0=
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