"else if" for template constraints

Zoadian via Digitalmars-d digitalmars-d at puremagic.com
Mon Aug 17 10:08:49 PDT 2015


On Monday, 17 August 2015 at 16:57:33 UTC, Zoadian wrote:
> wouldn't is(typeof(replace(array, from, to, stuff))) better be 
> a static if inside the first version?

nevermind, I missed that the first constraint is negated.

In that case I agree, else if would be nice.


More information about the Digitalmars-d mailing list