Questions about the scope/Exception machinery
Qox via Digitalmars-d
digitalmars-d at puremagic.com
Tue May 27 04:35:12 PDT 2014
Hello dear D fellows :D,
The problem boils down to this.
I try to write a Software which should be as compact as possible.
This means that i don't like to use any exception handling (which
appears to be hardly integrated into the language, not that good
for demoscene/OS dev stuff).
So i ran into the first issue, scope expressions.
When i write
scope(exit) foo();
it seems that it generates exception ahndling code. Is this the
case even if the called function and the callee are both nothrow
decorated? Can i force the compiler to generate goto code instead
of the exception handling stuff?
More information about the Digitalmars-d
mailing list