Affected subclause: [expr.prim.lambda.capture]
Change:
Implicit lambda capture may capture additional entities
. Rationale:
Rule simplification, necessary to resolve interactions with constexpr if
. Effect on original feature:
Lambdas with a
capture-default
may capture local entities
that were not captured in C++ 2017
if those entities are only referenced in contexts
that do not result in an odr-use
.