Second CT-Parameter of isRange Predicates

Nordlöw via Digitalmars-d digitalmars-d at puremagic.com
Mon Nov 2 06:43:50 PST 2015


On Monday, 2 November 2015 at 14:43:00 UTC, Nordlöw wrote:
> On Monday, 2 November 2015 at 14:33:44 UTC, Andrei Alexandrescu 
> wrote:
>>> https://github.com/D-Programming-Language/phobos/pull/3786
>>
>> Sent an ICBM its way. -- Andrei
>
> Why not extend existing traits with a second `E`-parameter 
> instead of adding a new one?

I think it's very well worth it in terms of expressability.


More information about the Digitalmars-d mailing list