News for hackers. Stuff that matters.
Re:Lambda expression comparison between C++11, C++14 and C++17 by gpderetta on Sunday May 15, 2016 @08:06AM (#11700604)
Closed-by-value variables (I.e. the default) in C++ don't expire. Referenced or pointed-to object might, but this is completely consistent with the rest of the language.

Remember that C++ is a by value language. Pointers are explicit, fist class and distinct from the pointed to object.

References are werid, though.

There are no comments on this comment yet.