Templates array detection

bearophile bearophileHUGS at lycos.com
Wed Dec 12 07:55:30 PST 2012


Ali Çehreli:

> This works:
>
> void foo(T)(T t) if(is(T == Data!T))

Try:

void foo(T)(Data!T t) {

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list