-
Notifications
You must be signed in to change notification settings - Fork 47
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
Remove noexcept(false) annotations #159
Comments
I agree to remove |
Oh, C++ does have a non-parameterized noexcept - if you just write |
I'm not sure if you noticed a compilation warning on in commit 4a402b6. Some functions in C++ are by default evaluated to |
Oh, you're right. I didn't notice the compile warning because our build process produces so much output, but yes, a destructor is one case where declaring |
According to everything I can find on the Internet (such as this and this), the
noexcept(false)
annotation on a function does nothing. Therefore, we should remove it from the Derecho codebase to reduce unnecessary "noise" in the source code and potential sources of confusion for other developers who use our library (they might wonder why some functions are declarednoexcept(false)
and some are not, until they figure out that not writingnoexcept(false)
is exactly the same as writing it).The text was updated successfully, but these errors were encountered: