Y
Hacker News
new
|
ask
|
show
|
jobs
by
a_t48
1618 days ago
But hold up - capturing a stack variable by reference in a lambda isn't defined behavior - it will be garbage later when you try to read from it.