Re: [eigen] question on alignment

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


operator new is inherited automatically, so in the following case no
need to put the macro in the class A:

class Foo
{
  Eigen::Vector2d v;
public:
  EIGEN_MAKE_ALIGNED_OPERATOR_NEW2
};


class A : public Foo
{
  Eigen::Vector2d w;
};

that's the only exception.

gael

On Wed, Oct 10, 2012 at 9:51 PM, Sylvain Pointeau
<sylvain.pointeau@xxxxxxxxx> wrote:
> On Wed, Oct 10, 2012 at 9:29 PM, Gael Guennebaud
> <gael.guennebaud@xxxxxxxxx> wrote:
>> only in the base classes.
>
> no see the answers before, it is necessary to keep the alignment
>
>



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