24 Apr
2014
24 Apr
'14
5:41 p.m.
If instead we had: typedef __declspec(align(8)) struct some_struct_type align_t; Then the asserts all pass, but now align_t can not be passed through a function call by value.
I filed DevDiv#874311 "alignas by-value parameters should be permitted" back in December. The compiler back-end team is aware that I need this for C++11 conformance.
That's great, thanks! John.