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

Example of xvalue #315

Closed
garfen opened this issue Jun 15, 2014 · 0 comments
Closed

Example of xvalue #315

garfen opened this issue Jun 15, 2014 · 0 comments

Comments

@garfen
Copy link

garfen commented Jun 15, 2014

In N3936 [basic.lval]p2 bullet 2, the example text could be improved by saying:

"[ Example: The result of calling a function whose return type is an rvalue reference to object type is an xvalue. —end example ]"

, in order to make it clear that functions returning rvalue reference to function type, does not produce xvalue's.

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

1 participant