Published: 27 Sept 2025 › Updated: 27 Sept 2025

in C++11 destructors default to noexcept. -Wterminate warns about it. Any ...
... noexcept(false) from base or member is propagated, but destructor body is not taken into consideration.
Even if you have throw in destructor body, it still might be implicitly marked noexcept.
#cplusplus
Leave in C++11 destructors default to noexcept. -Wterminate warns about it. Any ... to:
Read more #cplusplus posts
Best Posts From Serpent7776
We have not curated any of serpent7776's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.