• davel [he/him]@lemmy.ml
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    1 day 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: []{}