Lambda declaration cannot access closure variables when defined as a member function of an inline class - by Adaptation

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.

Sign in
to vote
ID 581680 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 7/30/2010 10:30:05 AM
Access Restriction Public


A Lambda function declared within a member function of an inline class complains that it cannot access the closure variables. Example given in steps to reproduce.

* Moving the class outside of the function declaration compiles fine
* Having no arguments for the lambda compiles fine
Sign in to post a comment.
Posted by Microsoft on 8/1/2010 at 10:14 PM
Thanks for your feedback. We are routing 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 Microsoft on 7/30/2010 at 5:10 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(