Using of not captured variable in lambda
问题 I can not quite understand an example from C++14 standard draft N4140 5.1.2.12 [expr.prim.lambda] . A lambda-expression with an associated capture-default that does not explicitly capture this or a variable with automatic storage duration (this excludes any id-expression that has been found to refer to an initcapture’s associated non-static data member), is said to implicitly capture the entity (i.e., this or a variable) if the compound-statement: odr-uses the entity, or names the entity in a