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

Use initializer list rather than constructor call: only initializer list guarantees left-to-right evaluation. #41279

Merged

Conversation

FeepingCreature
Copy link
Contributor

@FeepingCreature FeepingCreature commented Jun 13, 2020

SUMMARY: None

see C++ spec dcl.init.list #4
( http://eel.is/c++draft/dcl.init.list#4 )

…ist guarantees left-to-right evaluation.

(see C++ spec dcl.init.list CleverRaven#4)
Copy link
Contributor

@ifreund ifreund left a comment

Choose a reason for hiding this comment

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

Thanks!

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