const debacle

Walter Bright newshound1 at digitalmars.com
Sun Mar 23 22:34:07 PDT 2008


Ok, I see what you mean. But what the template gives us is:

const(T)[] f(const(T)[] t) { ... }
T[] f(T[] t) { ... }

whereas what Steven is asking for is:

T[] f(const(T)[] t) { ... }



More information about the Digitalmars-d mailing list