A better assert() [was: Re: std.unittests [updated] for review]

spir denis.spir at gmail.com
Fri Feb 4 06:57:53 PST 2011


On 02/04/2011 01:40 PM, bearophile wrote:
>> So moving them into explicit little features makes the language more
>
> The two little features I am talking about are:
> - a halt() somewhere like in core.bitop or std.intrinsic or the default object module to replace assert(0);

What about exit()? What would be the practical or semantic diff of halt() 
compared to exit()?

Denis
-- 
_________________
vita es estrany
spir.wikidot.com



More information about the Digitalmars-d mailing list