Re: [eigen] StdVector

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


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




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