On Monday, 7 April 2025 at 03:46:08 UTC, Manu wrote:
>So, I've never used an exception before, but I guess there's a first time for everything :P
It seems to be that Throwable
transcends nothrow
...
Other than proving code correct-ness, the point of nothrow
as I see it,
is to inform the compiler that it doesn't have to synthesise unwind tables
for everything in no-throw land... but since Throwable can pass through
nothrow
territory, how are any RAII objects cleaned up while it unwinds?
https://www.schveiguy.com/blog/2022/05/comparing-exceptions-and-errors-in-d/
-Steve