Class alignment optimization
Hello,
I''m trying to set class memory alignment using declspec(align()) but I get a compiler error saying
error C2485: ''align'' : unrecognized extended attribute
any help?
Ah, there we go. Rewrite it as:
__declspec(align(16)) class CVector3
{
public: CVector3();
};
How appropriate. You fight like a cow.
__declspec(align(16)) class CVector3
{
public: CVector3();
};
How appropriate. You fight like a cow.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement