Checkedint ready for one more round of reviews

Lurker via Digitalmars-d digitalmars-d at puremagic.com
Wed Oct 19 15:19:01 PDT 2016


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.





More information about the Digitalmars-d mailing list