Re: [eigen] Re: about std::vector::resize (again) |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Re: about std::vector::resize (again)
- From: Gael Guennebaud <gael.guennebaud@xxxxxxxxx>
- Date: Sat, 7 Feb 2009 12:19:22 +0100
- 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 :content-transfer-encoding; bh=XwZblQSZb8OFmjURIYR0yFrQJvM2Z5m4q+G5KLdcgY4=; b=LjHDx60wlo9cjGgepB9GYoXji1wZTmiUxNoSUVIasnxWjUWdbGXRSncB+w4eqMs+ye sn0pAkcPCjAszQZPLVP8PEbYX+l3i02qJkO1E5og6wrZNq4UZUdlg0++WA38QYRRg4bW z8fR4zgSS57Fq16s1s4qXDlTk2FLSjdcV2ypA=
- 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:content-transfer-encoding; b=uUBbe4gfysw6+CLm0EAffN4M5wqg6ufkOVuRwPR4im87zqxtSqlgcqcJKEiN4ovvPc HnLZ722EBvtz8g4M6xlRKp8xr7AGHQZFdHNjjZmmlGhmEvniTEsm2dDY+1MTkU3QrP2g 9+McGiluA0GMtH0ylrUSCrdFHsCk6/O8VOKGs=
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
>
>
>