News for hackers. Stuff that matters.
Re:John Carmack on Inlined Code (2014) by TillE on Tuesday July 19, 2016 @04:03PM (#12124420)
You could do something like that with C++ lambdas and explicit capture.

    int a,b,c;
    // ...
    [a, &b]() {
      // do stuff
    }();

There are no comments on this comment yet.