Struct template

deed via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Nov 3 09:09:24 PST 2014


> static if (is(typeof(T) == int))
>
> should be
>
> static if (is(T == int))
>
>
> T is already a type.

Ahh. Thanks!


More information about the Digitalmars-d-learn mailing list