in C++11 destructors default to noexcept. -Wterminate warns about it. Any ...

@serpent7776 · 2025-09-27 12:33 · DBuzz

... 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

Posted via D.Buzz

#cplusplus
Payout: 0.082 HBD
Votes: 1
More interactions (upvote, reblog, reply) coming soon.