struct A { uint c; uint x; string y; } struct B { string c; uint x; uint z; } MostCommon!(A, B) test; test.a = A(0, 1, "b"); assert(test.x == 1); assert(test.z.isNull);
See Implementation