of "Conditional Implementation" vs "Assertive Input Validation"
Simen Kjaeraas
simen.kjaras at gmail.com
Mon Jul 23 07:07:09 PDT 2012
On Mon, 23 Jul 2012 15:49:43 +0200, Philippe Sigaud
<philippe.sigaud at gmail.com> wrote:
> On Mon, Jul 23, 2012 at 3:39 PM, Dmitry Olshansky
> <dmitry.olsh at gmail.com> wrote:
>
>> Will explode every time a constraint is tested?
>> After all constraints do fail so that other function is picked up and
>> they
>> are supposed to.
>
> Damn, you're right.
To be fair, it explodes as often as the if (isInputRange!T){static
assert(!isInfinite!T);} does.
--
Simen
More information about the Digitalmars-d
mailing list