3 ms·
What does the []{...} mean in C++? Is it an array of anonymous functions?
by Immortalin 10y ago
What does the []{...} mean in C++? Is it an array of anonymous functions?
- klickverbot 10y agoIt'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 http://en.cppreference.com/w/cpp/language/lambda).