-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
Enable noexcept unit tests in Boost.Outcome, now exceptions globally disabled works in Boost.Exception #234
Comments
I've investigated a bit further and it seems that the BOOST version doesn't include the the tests for disabled exceptions. Running the tests from this repository showed that when exceptions are disabled every thing is fine. |
Further analysis showed that this version of outcome is OK. It's the boost implementation which has a problem. To reproduce the error just add this following lines the test directory jam file:
I think the outcome-status has the same issue. |
Boost.Exception fixed this in boostorg/exception@3300084, but it had to be reverted for the Boost 1.74 release last week. Now that is released, the fix is live. And Boost 1.75 will have it. Standalone Outcome has worked fine on exceptions globally disabled for years now, if that helps. Re: Enabling the noexcept tests in Boost.Outcome, that is a good idea now that is actually possible, and I will rename this issue accordingly. Thanks for the report! |
Hello, trying to use
Do I miss some |
Try with the latest release please, let me know. |
Thank you very much for your prompt answers! Unfortunately, the project toolchain has Anyway, I used the single header approach, that works as it should with |
The support for |
Compiling with BOOST_NO_EXCEPTIONS procuces the following output:
The text was updated successfully, but these errors were encountered: