Template function bug - or am i a retard? you decide.

BCS ao at pathlink.com
Thu Dec 20 11:43:35 PST 2007


Reply to Neal,

> class A
> {
> int x[];
> void read_array(alias var, T = typeof(var))(...){ return; }
> void fail(){ read_array!(x)(); }
> }

I don't think you can have non static template functions in a class




More information about the Digitalmars-d-learn mailing list