30 Mar
2014
30 Mar
'14
5:19 p.m.
On Sun, Mar 30, 2014 at 9:22 AM, Mathias Gaunard wrote:
AFAIK, with Windows 32-bit, you cannot reliably have an object with alignment greater than 4 on the stack.
I have seen that VC has notoriously strange alignment and layout rules for 32-bit code. I wonder if that should inhibit making boost::aligned_storage<..., N>::type at least as reliable as VC12's std::aligned_storage<..., N>::type or __declspec(align(8)), both of which seem to work correctly. Glen