Checkedint ready for one more round of reviews

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Wed Oct 19 19:10:59 PDT 2016


On 10/19/16 6:19 PM, Lurker wrote:
> On Wednesday, 19 October 2016 at 17:09:35 UTC, Andrei Alexandrescu wrote:
>> Just made one more pass through it addressing concerns and adding a
>> new policy (Throw). Reviews welcome. Let's get this through Scylla and
>> Charybdis!
>
>> This module provides a few predefined hooks (below) that add useful
>> behavior to Checked:
>
> Missing Throw.
>
>> Throw    Force all integral errors to fail by printing an error
>> message to stderr and then abort the program. Abort is the default
>> second argument for Checked.
>
> Seems to be copy-pasted from Abort.

Eh, it was indeed :o). Looking back I still see a few places in the 
documentation that I neglected. Will fix. The behavior is there. -- Andrei


More information about the Digitalmars-d mailing list