Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
zygoloid opened this issue Oct 26, 2017 · 0 comments
Assignees
Milestone

Comments

@zygoloid
Copy link
Member

[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.

@jensmaurer jensmaurer self-assigned this Oct 26, 2017
@jensmaurer jensmaurer added this to the C++20 milestone Oct 26, 2017
jensmaurer added a commit to jensmaurer/draft that referenced this issue Oct 26, 2017
…f references

to after the introduction of 'capture by reference'.

Fixes cplusplus#1785.
zygoloid pushed a commit that referenced this issue Oct 27, 2017
…f references

to after the introduction of 'capture by reference'.

Fixes #1785.
AaronBallman pushed a commit to AaronBallman/draft that referenced this issue Nov 15, 2017
…f references

to after the introduction of 'capture by reference'.

Fixes cplusplus#1785.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants