Cipherd@lemmy.ml to Programmer Humor@lemmy.ml · 4 days agofunctionslemmy.mlimagemessage-square37linkfedilinkarrow-up1294arrow-down14 cross-posted to: programmer_humor@programming.dev
arrow-up1290arrow-down1imagefunctionslemmy.mlCipherd@lemmy.ml to Programmer Humor@lemmy.ml · 4 days agomessage-square37linkfedilink cross-posted to: programmer_humor@programming.dev
minus-squaredavel [he/him]@lemmy.mllinkfedilinkEnglisharrow-up4·4 days 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:
[]{}