-
Notifications
You must be signed in to change notification settings - Fork 85
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
boost::core::launder bug in BOOST_MSVC #160
Comments
To clarify, the problem is an internal compiler error with |
Perhaps, it could be emulated with |
I don't think this is what it does. |
I think, something like this should have the effect of
But that's two instructions. I suggested a |
MSVC doesn't perform the optimizations against which If it starts doing them some day, and for some reason |
boostorg/optional@8375df7 included a workaround for a problem related to boost::core::launder. The problem was reported at boostorg/optional#122.
The problem happens due to an MSVC bug and it would be best to bypass MSVC directly in Boost.Core than to have this logic replicated in other libraries.
The text was updated successfully, but these errors were encountered: