xxxxxxxxxx
import std.stdio;
struct S
{
int i,j;
void f(S src){
//this.tupleof = src.tupleof;
this.writeln;
foreach (i, ref field; src.tupleof)
this.tupleof[i] = field;
this.writeln;
}
}
void main()
{
auto s = S(1, 4);
S s2;
s2.writeln;
s2.f(s);
}