Is there a way to do this. For example if I have struct A { int a, b, c; } struct B { int p, q, r, s; this(A a) { p = a.a; q = a.b; r = a.c; } }
A a; B b; b = a;
Is there a way to do this. For example if I have struct A { int a, b, c; } struct B { int p, q, r, s; this(A a) { p = a.a; q = a.b; r = a.c; } }
A a; B b; b = a;