Lints, Condate and bugs

bearophile bearophileHUGS at lycos.com
Wed Oct 27 17:04:38 PDT 2010


> Yet I don't see exceptions used much in Phobos yet :-]

Andrei has used enforce() in many places, so there are many exceptions. But enforce() is used like a non-removable assert(), the exceptions it generates are generic... Once DMD has two compiled Phobos libs inside its binary distribution (one with asserts too), those enforce() are better replaced by asserts.

Bye,
bearophile


More information about the Digitalmars-d mailing list