299
functions
(lemmy.ml)
Post funny things about programming here! (Or just rant about your favourite programming language.)
C++:
[](){}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:
[]{}