[Issue 6879] The difference of between template matching and IsExp

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 2 06:01:11 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6879



--- Comment #1 from Kenji Hara <k.hara.pg at gmail.com> 2011-11-02 06:00:41 PDT ---
When static if condition is same as follows, the judgement succeeds.

    static if (is(T _ : X, X : U[N], U, size_t N))
        ...

This works as expected, but unneeded two symbols require (_ and X).
It seems to me that this syntax has little confusing.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list