Skip to content

Fix incorrect variable references#727

Merged
zygoloid merged 1 commit into
cplusplus:masterfrom
mclow:patch-3
May 27, 2016
Merged

Fix incorrect variable references#727
zygoloid merged 1 commit into
cplusplus:masterfrom
mclow:patch-3

Conversation

@mclow

@mclow mclow commented May 17, 2016

Copy link
Copy Markdown
Contributor

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).
Comment thread source/lib-intro.tex
@@ -1821,12 +1821,12 @@
\tcode{X u = std::move(a);} &

Copy link
Copy Markdown
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.

2 participants