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

Page 253 - Fold Expressions parameter pack name wrong #147

Closed
nicebub opened this issue Feb 8, 2020 · 1 comment
Closed

Page 253 - Fold Expressions parameter pack name wrong #147

nicebub opened this issue Feb 8, 2020 · 1 comment

Comments

@nicebub
Copy link

@nicebub nicebub commented Feb 8, 2020

I believe that in the text under the Fold Expressions heading:
"For example, you could employ the following fold expression to sum over all elements in a parameter pack called 'pack'"

(... + args )

does the earlier sentence with the parameter-pack named 'pack' refer to the following expression
with 'args' as the name of the pack?
If so then one should be changed.

Thank you.

@JLospinoso JLospinoso closed this in c857d17 Mar 9, 2020
@JLospinoso

This comment has been minimized.

Copy link
Owner

@JLospinoso JLospinoso commented Mar 9, 2020

Thank you, @nicebub!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.