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

variant is not complied in MSVC #153

Open
webbery opened this issue Jan 5, 2024 · 0 comments
Open

variant is not complied in MSVC #153

webbery opened this issue Jan 5, 2024 · 0 comments

Comments

@webbery
Copy link

webbery commented Jan 5, 2024

In types/std/variant.hpp, I see it use __cplusplus to check compiler version.
But in windows MSVC, this macro will be set with 199711L if we use option /std:c++17. My MSVC is Microsoft Visual Studio Community 2022.
So how do I solve this problem?

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

No branches or pull requests

1 participant