2 ms·
You could do something like that with C++ lambdas and explicit capture. int a,b,c; // ... [a, &b]() { // do stuff }();
by TillE 10y ago
You could do something like that with C++ lambdas and explicit capture.
int a,b,c;
// ...
[a, &b]() {
// do stuff
}();