On 10/31/11 4:43 AM, Steve Teale wrote:
Is there a way to do this. For example if I havestruct 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;
Use opAssign? Andrei
On 10/31/11 4:43 AM, Steve Teale wrote:
Is there a way to do this. For example if I havestruct 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;
Use opAssign? Andrei