JLospinoso / ccc

Companion Code for C++ Crash Course
https://ccc.codes
GNU General Public License v3.0
378 stars 107 forks source link

Typo: Parameter pack should be called args #184

Closed michaeldperez closed 4 years ago

michaeldperez commented 4 years ago

In chapter 9 on page 253, in the section on "Fold Expressions," the second paragraph states: "For example, you could employ the following fold expression to sum over all elements in a parameter pack called pack: (... + args)".

I think the end of the sentence should read: "...sum over all elements in the parameter pack called args: ..."

michaeldperez commented 4 years ago

This is already captured in known typos.