Skip to content

[expr.prim.lambda.capture]p11 description of capture-by-reference of references is out of place #1785

@zygoloid

Description

@zygoloid

[expr.prim.lambda.capture]p11 describes capture-by-reference of references. But p11 is actually giving details of capture by copy. Capture by reference is not even introduced until p12.

The capture-by-reference-of-reference wording and its note and example should be moved to a new p13.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions