diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 038830a..f0b4ac4 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -4151,8 +4151,6 @@ It's confusing. Writing `[=]` in a member function appears to capture by value, // ... auto lambda = [=] { use(i, x); }; // BAD: "looks like" copy/value capture - // [&] has identical semantics and copies the this pointer under the current rules - // [=,this] and [&,this] are not much better, and confusing x = 42; lambda(); // calls use(0, 42);