Re: [eigen] Re: about std::vector::resize (again)

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


FYI:

[12:16] <CIA-60> ggael * r922596 eigen2/trunk/kdesupport/eigen2/ (7
files in 5 dirs):
[12:16] <CIA-60> * allow Matrix to be resized to 0 (solve a lot of troubles with
[12:16] <CIA-60> some containers)
[12:16] <CIA-60> * new workaround for std::vector which is supposed to
work for any
[12:16] <CIA-60> classes having EIGEN_MAKE_ALIGNED_OPERATOR_NEW as
discussed on ML

works with MSVC2008, and gcc,

testing is welcome !

On Fri, Feb 6, 2009 at 7:52 PM, Benoit Jacob <jacob.benoit.1@xxxxxxxxx> wrote:
> 2009/2/6 Gael Guennebaud <gael.guennebaud@xxxxxxxxx>:
>> I forgot to mention that this would also requires to allow Matrix to
>> resize to 0. Eg:
>
> That is not a problem at all for me, and even better, solves one
> annoying issue i was wondering how to fix: as you know we don't
> currently allow to copy an uninitialized matrix into another one,
> exactly for this reason, and that is causing trouble to users of Boost
> containers.
>
> Cheers,
> Benoit
>
>
>



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