try/catch idiom in std.datetime
Dicebot
public at dicebot.lv
Tue Nov 19 05:21:27 PST 2013
On Monday, 18 November 2013 at 20:49:48 UTC, 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
> ...
I am pretty sure on my x86_64 Linux `assert(0)` results in
termination via SIGILL (Illegal Instruction). Well, it is still a
hard crash so no big deal but probably in not an expected way.
More information about the Digitalmars-d
mailing list