News for hackers. Stuff that matters.
Re:Why the C++ standard ships every three years by roca on Saturday July 13, 2019 @05:59PM (#20430431)
Lambda captures make it pretty easy to create nasty memory safety issues via dangling references. Sure, you could create such issues with the equivalent manually written closure-structs, but lambda captures pave the dangerous path.
Re:Why the C++ standard ships every three years by pfultz2 on Saturday July 13, 2019 @08:36PM (#20430962)
But cppcheck can find a lot of dangling references with lambda captures.