Ranges and Exception handling PR 2724

Sean Kelly via Digitalmars-d digitalmars-d at puremagic.com
Thu Nov 20 08:23:31 PST 2014


On Saturday, 15 November 2014 at 01:43:07 UTC, Robert burner 
Schadek wrote:
> This PR 
> https://github.com/D-Programming-Language/phobos/pull/2724 adds 
> an generic way of handling Exception in Range processing. 
> quickfur and Dicebot ask me to start a thread here so the 
> concept could be discussed.

It's a small thing, but it might be nice if it were possible to 
provide a handler that takes only the exception as an argument, 
or maybe even just a default value with no arguments at all.  I 
like the general idea though.


More information about the Digitalmars-d mailing list