-
Notifications
You must be signed in to change notification settings - Fork 1.6k
initializer_lists constructed using values #1400
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
initializer_lists constructed using values #1400
Conversation
StephanTLavavej
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing these unnecessarily nonconformant tests! Everything looks good to me, I just noticed one possible simplification and two extra newlines, so I'll push a small commit and move this forward to Final Review. 😺
CaseyCarter
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one small change here that I'll apply directly.
Construct `discrete_distribution<>` from `initializer_list` as before.
|
Thanks for fixing this issue and eliminating unnecessary non-Standard code from the test suite! 🎉 |
I searched occurences of using
initializer_listaccording to issue #1184. In most casesinitializer_listis used for testinginitializer_listconstructors or it is required for constructing other object, so I just filled initializer_lists manually, in pair of cases I replaced themFixes #1184