Visual Studio 2012 RC does not implement alignas keyword in c++ 11 - by Stefan Dyulgerov

Status : 

  Deferred<br /><br />
		The product team has reviewed this issue and has deferred it for consideration at a later time.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 751032 Comments
Status Closed Workarounds
Type Bug Repros 2
Opened 6/26/2012 10:37:46 PM
Access Restriction Public


Please implement the align_as keyword.

It is very useful to port to other c++ 11x compilers.

If you cannot please make the system headers accept it, so we can say

#define align_as(x) __declspec(align(x))

It was working this way visual studio 2010

Historically declspec(align) was a problem with gcc since it was at the beginning of the class and gcc attributes were at the end. Now gcc has alignas which is in front of the class
Sign in to post a comment.
Posted by Tanveer [MSFT] on 6/28/2012 at 4:24 PM
Thank you for contacting Microsoft. We are implementing C++11 features in a staged fashion and in due time you will see an implementation of "alignas".

Tanveer Gani
Visual C++ Team.
Posted by Microsoft on 6/27/2012 at 3:43 AM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Microsoft Visual Studio Connect Support Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by Macy [MSFT] on 6/26/2012 at 10:50 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(