[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] StdVector
- From: "Schleimer, Ben" <bensch128@xxxxxxxxx>
- Date: Wed, 15 Apr 2009 10:29:26 -0700 (PDT)
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1239816567; bh=XmIAiFg2+6u8uu3sXLSOiuu17Rz9kEEgRPw9tBjIhv4=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=xSXc0wmb6Q2zCm8hRpKZtrnFqpdtHZrNPg6ET3QdY+WnhmlUpX4l3mpkfB45paITZ11p7UccBo2sVLS3DtEgcdiKot0pdHE1PhiS2ohBn4mmHbHEVXvC8/mROMYm1dc9M4fJf/303fJzv591tf5e/P/AbrTYU3LYNfG/sGMuzZc=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=SyMX8jLMYt9W7qqeToNVMdMX8TcdWpQPWq5dxzjLzFSDdULVlyrqHXIGYsYkjnl7La9wPv9ROnM9NfPl5uL2dgt+9qt5NX4pyd9NBVycg4KRhwGF3F2RU2QB58GtvRpug/4taCCAdHgTczYDilMV3HMFZ2e/XDuFVX/1V4q1rX8=;
Sorry I should have read more emails first.. :(
Forget my previous email, I like gael's idea better.
>
> Another proposal: enforce the user to write:
>
> std::vector<MyTrickyType,Eigen::aligned_allocator<MyTrickyType>
> > ....;
>
> with a specialization of std::vector for
> Eigen::aligned_allocator<> to
> workaround the resize() issue,
It's clear and easy to document and easy to remove when unneeded.
cheers
Ben