Cannot directly return with decltype - by apostasia

Status : 

  Fixed<br /><br />
		This item has been fixed in the current or upcoming version of this product.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.


1
0
Sign in
to vote
ID 704955 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 11/17/2011 12:55:07 AM
Access Restriction Public
Moderator Decision Sent to Engineering Team for consideration

Description

Returning an instance of a type defined using decltype seems impossible, but is allowed by the C++11 standard (as far as I can tell).
Sign in to post a comment.
Posted by apostasia on 12/2/2011 at 8:10 AM
Thanks!
Posted by Microsoft on 12/2/2011 at 7:56 AM
Hi: this issue has been fixed. The fix should show up in a future release of Visual C++.

Thank you for reporting the issue.

Jonathan Caves
Visual C++ Compiler Team
Posted by MS-Moderator01 on 11/17/2011 at 6:20 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Posted by MS-Moderator07 [Feedback Moderator] on 11/17/2011 at 1:12 AM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.