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

Fix incorrect variable references #727

Merged
merged 1 commit into from May 27, 2016
Merged

Fix incorrect variable references #727

merged 1 commit into from May 27, 2016

Conversation

mclow
Copy link
Contributor

@mclow mclow commented May 17, 2016

Two move operations for the allocators refer to a or a1, though the code uses u. Fix the description to match the code.
Also, change the phrase "equals" to "is equal to", which matches other uses in the standard (see [unique.ptr]/4.1 for an example).

Two move operations for the allocators refer to `a` or `a1`, though the code uses `u`.  Fix the description to match the code.
Also, change the phrase "equals" to "is equal to", which matches other uses in the standard (see [unique.ptr]/4.1 for an example).
@@ -1821,12 +1821,12 @@
\tcode{X u = std::move(a);} &
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also fix the two similar cases above (X u = a; and X u(b);)?

@zygoloid zygoloid merged commit b187965 into cplusplus:master May 27, 2016
FrankHB pushed a commit to FrankHB/draft that referenced this pull request Jul 9, 2016
…#727)

Two move operations for the allocators refer to `a` or `a1`, though the code uses `u`.  Fix the description to match the code.
Also, change the phrase "equals" to "is equal to", which matches other uses in the standard (see [unique.ptr]/4.1 for an example).
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

Successfully merging this pull request may close these issues.

None yet

2 participants