pointsTo in D1
Bill Baxter
dnewsgroup at billbaxter.com
Fri Mar 7 00:25:51 PST 2008
Bill Baxter wrote:
> Does anyone know how to D1-ify this (from D2 std.contracts)
>
> In particular I don't understand what those fancy D2 is-expressions are
> doing.
>
I think I got it.
This in D2
>
> static if (is(S P : U*, U))
Is another way to say this
static if (is(S U : U*))
> else static if (is(S A : U[], U))
Same here -- it's equivalent to "if(is(S U : U[]))"
--bb
More information about the Digitalmars-d-learn
mailing list