try/catch idiom in std.datetime

Jacob Carlborg doob at me.com
Mon Nov 18 13:04:59 PST 2013


On 2013-11-18 21:49, Walter Bright wrote:

> Most architectures I've used supported a HLT, and there's always
> something the back end could construct if it had to, even:
>
>       ...
>       call halt
>       ...

In that case, would we want it to be legal to throw AssertError instead 
of using the halt instructions? Because that's what the docs says.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list