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

Support -fno-exceptions build #127

Open
mizvekov opened this issue Dec 4, 2023 · 3 comments
Open

Support -fno-exceptions build #127

mizvekov opened this issue Dec 4, 2023 · 3 comments

Comments

@mizvekov
Copy link

mizvekov commented Dec 4, 2023

Would be nice if this library, or at least some subset of it, could be built using C++-without-exceptions dialect.

@ned14
Copy link
Owner

ned14 commented Dec 7, 2023

Chances are low, the code base was designed to be used from C++ exceptions disabled code, but to compile it would require C++ exceptions as those would be used internally.

It probably wouldn't be a massive task to make the source C++ exceptions disabled friendly, just time and effort.

@ethindp
Copy link

ethindp commented Jun 22, 2024

I'm a bit confused as to why. Is this library supposed to conform to P1031 semantics? I.e., isn't it supposed to be a reference implementation of that paper? I'd think it'd be best if it's (at least theoretically) trivial to switch to the stdlib version if it does get adopted and standardized. Which means consistent behavior. Plus, all functions already return a outcome anyway (or most of them do). Just my $0.02.

@ned14
Copy link
Owner

ned14 commented Jun 24, 2024

I shall be quitting WG21 next summer, so all my proposals including the one to standardise this library have been axed. I think seven years is enough for WG21 to standardise something, if they can't do it within seven years, it's time for me to move on to places more productive with my time.

This library will be maintained, but I don't expect to add much new to it going forth as I will be deprioritising C++ work from 2025 onwards. All that said, donations of a noexcept capable build I'm sure the userbase would welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants