-
Notifications
You must be signed in to change notification settings - Fork 28
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
Compile error on C++14 #48
Comments
Thank you for making me aware of this. |
Any workarounds yet? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi
The following code does not compile using MSVC 142 (19.35.32215 from VS 2022) using C++14 standard
It hits the error
C3445: copy-list-initialization of 'std::pair<std::string, nonstd::blah>...
which we assume is because in our setup, this is observed asfalse
:While the same for
std::variant
evaluates to true. This then makesstd::pair
constructor to beexplicit
which in turn removes the possibility of using a wide range of valid codes like this:The text was updated successfully, but these errors were encountered: