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
[dcl.fct.def.coroutine] p13 A valid reference type is not cv-qualified #4868
Comments
If T is a reference type, then "cv" is simply empty (because references cannot be cv-qualified). I'm not seeing a problem here. |
If
Instead, we say "xvalue of type T" where T may reference type in [dcl.fct.coroutine] p13, they seem to conflict. |
That's a valid point, but unrelated to the subject of this issue, which talks about cv-qualification. |
Well, actually this issue has two concerns here. I will post a new issue about the second one. This should be closed. |
When the parameter has a reference type,
cv T
is the wrong exposition. Maybe, we could sayThe text was updated successfully, but these errors were encountered: