|
This approach could significantly reduce potential vulnerabilities and improve the overall stability of our code. After all, we already have noexcept specifier . This is important because exceptions thrown in the constructor are not caught or recoverable. |
Answered by
gregmarr
Mar 11, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@shemeshg Why do you think that constructor exceptions are not catchable or recoverable? Do you mean the destructor, which is noexcept by default?