Re: [eigen] aligned question

[ Thread Index | Date Index | More Archives ]


you should be safe, EIGEN_MAKE_ALIGNED_NEW will ensure that *arr is properly aligned.


On Wed, Jul 15, 2015 at 11:00 AM, Gabriel <gnuetzi@xxxxxxxxx> wrote:

If I have

class A{
    Eigen::Vector4f a;

and I instantiate this as

A * arr = new A[100];

is there any alignment issue or does EIGEN_MAKE_ALIGNED_NEW take care of this :-)?

Thanks a lot?

Mail converted by MHonArc 2.6.19+