Cipherd@lemmy.ml to Programmer Humor@lemmy.ml · 1 month agofunctionslemmy.mlimagemessage-square36fedilinkarrow-up1267arrow-down15 cross-posted to: programmer_humor@programming.dev
arrow-up1262arrow-down1imagefunctionslemmy.mlCipherd@lemmy.ml to Programmer Humor@lemmy.ml · 1 month agomessage-square36fedilink cross-posted to: programmer_humor@programming.dev
minus-squaredavel@lemmy.mllinkfedilinkEnglisharrow-up4·edit-21 month agoHuh, 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:
[]{}