> inout(int) foo (inout int a)
> {
> writeln(a);
> return a;
> }
I don't know if this is the official method, but
writeln(cast(const)x);
works.
Trying to get answers at:
http://stackoverflow.com/questions/17460065/how-to-print-inout-parameters