This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Eigen::aligned_allocator with boost::ptr_containers?

Tags: None
(comma "," separated)
n2k
Registered Member
Posts
41
Karma
0
Hi,

I'm developing a code where I have the following situation:
- SomeClass contains Eigen fixed-size vectorizable data. Therefore I use EIGEN_MAKE_ALIGNED_OPERATOR_NEW (as described here http://eigen.tuxfamily.org/dox/TopicStr ... mbers.html);
- I have a boost::ptr_container<SomeClass>, for example boost::ptr_vector<SomeClass>

Do I need to use Eigen::aligned_allocator with boost::ptr_container<SomeClass> in this case (as in http://eigen.tuxfamily.org/dox/TopicStlContainers.html)?

Thanks!
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS
no, you should be fine for pointer containers.


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot]