Cipherd@lemmy.ml to Programmer Humor@lemmy.ml · 6 个月前functionslemmy.mlimagemessage-square39fedilinkarrow-up1302 cross-posted to: programmer_humor@programming.dev
arrow-up1302imagefunctionslemmy.mlCipherd@lemmy.ml to Programmer Humor@lemmy.ml · 6 个月前message-square39fedilink cross-posted to: programmer_humor@programming.dev
minus-squaredavel [he/him]@lemmy.mllinkfedilinkEnglisharrow-up5·edit-26 个月前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: []{}
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:
[]{}