exceptions vs error codes

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Sun Jul 10 00:06:28 PDT 2016


it seems that OP wants a kind of compiler switch (or pragma, or 
attribute) to magically turn `throw` into returning some kind of 
"error value". and we already has too much dangerous compiler 
switches like that (even one is too much, and we have two).


More information about the Digitalmars-d mailing list