Re: [eigen] Alignment of a derived class

[ Thread Index | Date Index | More Archives ]


> I have another question:
> I saw that you define
>    typedef void eigen_aligned_operator_new_marker_type;
> in the macro
> in Memory.h
> Do you have a structure in Eigen that checks if the typedef is defined, similar to the second example here:

no, and actually I'm not sure eigen_aligned_operator_new_marker_type
is still needed.

> If Eigen provides this I would not have to define it myself.
> Basically what I want to do is to use boost::conditional to check if I have to use the aligned allocator for a vector.

Boost offers what you need to test if
eigen_aligned_operator_new_marker_type is present. I don't remember in
which package though.


> thank you,
> Martin

Mail converted by MHonArc 2.6.19+