-
Notifications
You must be signed in to change notification settings - Fork 37
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
C4702: unreachable code #65
Comments
Me too |
How does that work? That line is a comment, there is no code there: https://github.com/martinmoene/expected-lite/blob/v0.6.3/include/nonstd/expected.hpp#L2142 |
Hello! Repro:
Compile using Output:
|
I'm not sure what to think of MSVC's warning. |
Ah, at first I thought line 2142 is with the 0.6.3 release branch, but apparently it's on master, so there is actual code there. So the correct reference is
Maybe MSVC doesn't like the A few other wrong ideas I had:
|
Thanks for your helpful thoughts to advance this issue. |
Hello!
I have a problem:
OS: Windows 2022
Visual Studio 2022 v17.5.0
https://conan.io/center/recipes/expected-lite?version=0.6.3
The text was updated successfully, but these errors were encountered: