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