assert(0)

anonymous via Digitalmars-d digitalmars-d at puremagic.com
Sat Nov 7 13:19:18 PST 2015


On 07.11.2015 22:00, Fyodor Ustinov wrote:
> We do not have way to in "scope(failure)" or "scope(exit)" detect - it's
> "assert" or "throw".

Ah, I get what you mean now. I think you have a point. Executing 
scope(failure/exit) code when an Error has been thrown may be bad. I'm 
not aware of the details, though.


More information about the Digitalmars-d mailing list