Align member variables
How can you align member variables in a class in c++? I've tried __attribute__((align(64))), but it only seems to work if the variable is declared globally, instead of inside a class.
I'm guessing you're having problems with new'ed classes not being aligned properly.
More discussion on this topic in a previous thread.
More discussion on this topic in a previous thread.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement