News for hackers. Stuff that matters.
Re:Lambda expression comparison between C++11, C++14 and C++17 by noblethrasher on Saturday May 14, 2016 @09:27PM (#11698902)
Yep, in Microsoft’s C# compiler, only the closed over local variables of a function are captured (which, in C#’s case, means generating a class with fields corresponding to each closed over local, and then replacing those locals with references to their respective fields of an instance of that class).

There are no comments on this comment yet.