Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Immortalin
· 9y ago · 0 comments
What does the []{...} mean in C++? Is it an array of anonymous functions?
Comments
[–]
klickverbot
9y ago
It's a lambda expression ("closure"/"anonymous function"/…) that doesn't capture any outside state (see e.g.
http://en.cppreference.com/w/cpp/language/lambda
).