[Issue 2725] Pattern matching in static if not working with variadic arguments

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 13 14:40:29 PDT 2009


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





------- Comment #1 from bugzilla at digitalmars.com  2009-03-13 16:40 -------
The is expression needs to be written as:

    static if (!is(X Y == A!(Z), Z...))

with the addition of the ... to indicate that Z is a tuple parameter. It still
won't compile right, though, so I'll fix it.


-- 



More information about the Digitalmars-d-bugs mailing list