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

fix inconsistent choice of init list constructor #921

Merged

Commits on Aug 25, 2023

  1. fix inconsistent choice of init list constructor

    On some compilers value{x} invokes initializer_list constructor, on
    others it is equivalent to value(x). This is very problematic, but this
    isn't something we can fix. On the other hand, we CAN make init list
    construction to be equivalent to value(x), if the size of init list is
    one. This commit does exactly that.
    grisumbras committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    25e740d View commit details
    Browse the repository at this point in the history