News for hackers. Stuff that matters.
Re:Metaprogramming is less fun in D by Immortalin on Friday April 21, 2017 @02:37PM (#14168122)
What does the []{...} mean in C++? Is it an array of anonymous functions?
Re:Metaprogramming is less fun in D by klickverbot on Friday April 21, 2017 @02:39PM (#14168140)
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).