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

Listing 4-38 parentheses vs brackets #18

kwadsten opened this issue Oct 1, 2019 · 1 comment


Copy link

commented Oct 1, 2019

Hi, in example 4-38 the move constructor uses ( ) for initialization instead of { } that the copy constructor uses. Is this intentional? I thought { } style was recommended.

JLospinoso added a commit that referenced this issue Oct 1, 2019

This comment has been minimized.

Copy link

commented Oct 1, 2019

Hi @kwadsten, you're right! That's a typo. It's correct in Listing 4-35. I've added this to the errata.

"We're sorry for the inconvenience." 😂

@JLospinoso JLospinoso closed this Oct 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.