Reply to topic

Adding EIGEN_MAKE_ALIGNED_OPERATOR_NEW and EIGEN_DONT_VECTOR

updogliu
Registered Member
Posts
13
Karma
0
OS
Previously I use EIGEN_MAKE_ALIGNED_OPERATOR_NEW for self-defined class containing fixed-size Eigen objects, but now I find this is too error-prone. Now I want to use EIGEN_DONT_VECTOR to get rid of this problem, do I have to remove the existing EIGEN_MAKE_ALIGNED_OPERATOR_NEW?

Also, I used Eigen::aligned_allocator<gtrk::Hyperimage> at several places, do I also have to remove them, after I defined EIGEN_DONT_VECTOR?
User avatar ggael
Moderator
Posts
2195
Karma
15
OS
You do not have to remove them, they only become useless.

 
Reply to topic

Bookmarks



Who is online

Registered users: alake, Alex_Perry, Baidu [Spider], Bing [Bot], brand, colomar, eticre, Exabot [Bot], garthecho, Google [Bot], google01103, Hans, ken300, koriun, La Ninje, Majestic-12 [Bot], nerdopolis, pedrorodriguez, rulet111, SecretCode, Sentynel, Sogatori, Sogou [Bot], Steve Guilford, vascobasque, vgezer, Yahoo [Bot], z-uo, šumski