This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Data alignment for member variables in C++

Hello,

I was wondering if is possible to declare C++ member buffer variables aligned, at the moment using #pragma DATA_ALIGN allows only static buffers to be aligned which means not allowed in a class.

Best regards,

David.