Hi, when I compile this :
template toString(T) {
char[] toString(T x){
return "<??>";
}
}
template toString(T : T[]) {
char[] toString(T[] x){
return "<array>";
}
}
, I get this :
tools.d(162): template tools.toString(T : T[]) specialization not allowed for deduced parameter T
According to the online manual this should be no error.
How can I solve this ?