Implicit conversion between structs?
Steve Teale
steve.teale at britseyeview.com
Mon Oct 31 02:43:14 PDT 2011
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;
More information about the Digitalmars-d
mailing list