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

[futures.async] remove parens from DECAY_COPY() #1707

Merged
merged 1 commit into from Sep 15, 2017

Conversation

jwakely
Copy link
Member

@jwakely jwakely commented Aug 15, 2017

We're referring to the function name, not trying to call it with no arguments.

@@ -4838,7 +4838,7 @@
\tcode{\placeholdernc{DECAY_COPY}(std::forward<Args>(args))...)}
(\ref{func.require}, \ref{thread.thread.constr})
as if in a new thread of execution represented by a \tcode{thread} object
with the calls to \tcode{\placeholdernc{DECAY_COPY}()} being evaluated in the thread that called \tcode{async}.
with the calls to \tcode{\placeholdernc{DECAY_COPY}} being evaluated in the thread that called \tcode{async}.
Copy link
Contributor

Choose a reason for hiding this comment

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

@jwakely: Then get rid of the "nc", too. That was only needed for the spacing relative to the parens.

@tkoeppe
Copy link
Contributor

tkoeppe commented Aug 23, 2017

I would welcome this change.

@tkoeppe tkoeppe added this to the C++17 IS milestone Sep 14, 2017
@zygoloid zygoloid merged commit b626862 into cplusplus:master Sep 15, 2017
@zygoloid
Copy link
Member

Merged to c++17 in 1b93dcc.

@jwakely jwakely deleted the decay_copy-parens branch November 23, 2017 20:12
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

3 participants