Home Dashboard Directory Help
Search

C++ Lambda unable to access parts of types in containing method by Andy Champ


Status: 

Closed
 as Fixed Help for as Fixed


2
0
Sign in
to vote
Type: Bug
ID: 674241
Opened: 6/6/2011 1:51:50 AM
Access Restriction: Public
Moderator Decision: Sent to Engineering Team for consideration
0
Workaround(s)
view
1
User(s) can reproduce this bug

Description

A lambda inside a class or struct cannot access the members of a type defined in the containing method. This is shown by compiling the code in "Steps to Reproduce".
Details
Sign in to post a comment.
Posted by Microsoft on 6/20/2011 at 6:06 PM
Hi Andy,
    Thanks for reporting the issue.
    A fix for this issue has been checked into the compiler sources. The fix should show up in the next release of Visual C++.

Xiang Fan
Visual C++ Team
Posted by MS-Moderator07 [Feedback Moderator] on 6/6/2011 at 8:28 PM
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.


Posted by MS-Moderator01 on 6/6/2011 at 3:49 AM
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)
Sign in to post a workaround.