you are viewing a single comment's thread
view the rest of the comments
[–] 5 points 9 months ago*

Huh, I haven’t looked at C++ in decades, and I didn’t know they’d added lambda functions/expressions, in C++11. Apparently you can shorten it further: []{}

  • source
  • parent