On Friday, 17 February 2012 at 00:34:41 UTC, Timon Gehr wrote:
This compiles with DMD 2.057 and DMD 2.058:

import std.stdio;
inout(char)[] test(inout(char)[] x){
   inout(char)[][int] a;
   a[1]=x;
   return a[1];
}

void main(){
   writeln(test(['a']));
}

Whoops, nevermind then on it not working now. I look forward to seeing how it will work when AA's are templates.

-SiegeLord

Reply via email to