In this article in code sample I have met an unfamiliar for me C++ code construction:
[&]() {/* code here*/}
It looks just like anonymous function or class in Java. Does anyone know what this construction means?
It's a lambda function (an anonymous function that you can define inside another).
There's a pretty good SO post explaining it here. What is a lambda expression in C++11?