On 03/30/2012 09:20 PM, Philippe Sigaud wrote:
On Fri, Mar 30, 2012 at 01:09, Simen Kjærås<[email protected]>  wrote:
The same pattern is used in std.typecons.isTuple:

template isTuple(T)
{
    static if (is(Unqual!T Unused : Tuple!Specs, Specs...))
    {

Wait, does that work now?

Yes.

They added 'is(XXX, YYY...)'?

The syntax is static if(is(XXX Unused, YYY...)). (Where Unused is something you never have any use for.)

Reply via email to