Just wanted to clarify that, as far as I know, you don't need to worry about 
EIGEN_MAKE_ALIGNED_OPERATOR if you're using C++17 or greater.

Rob
________________________________
From: Gael Guennebaud <[email protected]>
Sent: Wednesday, May 3, 2023 9:09 AM
To: [email protected] <[email protected]>
Subject: Re: [eigen] transitivity of EIGEN_MAKE_ALIGNED_OPERATOR_NEW

Hi,

yes that's, sadly, true.

Gaël

On Wed, May 3, 2023 at 12:26 PM Rasmus 
<[email protected]<mailto:[email protected]>> wrote:
Hello,
I would like to get an authoritative answer to this question here: 
https://stackoverflow.com/questions/63216172/transitive-effect-of-eigen-eigen-make-aligned-operator-new

Basically, if class A has Eigen members and thus uses 
EIGEN_MAKE_ALIGNED_OPERATOR, should this macro also be added to class B which 
has a member of type A?

Best,
Rasmus

Reply via email to