struct A { void c() {} struct B { void d() { c(); } } }
When compiling this with rdmd I get the message: "Error: this for c needs to be type A not type B". Is there a way to call c from d?
berni via Digitalmars-d-learn Sat, 06 Jul 2019 04:45:45 -0700
struct A { void c() {} struct B { void d() { c(); } } }
When compiling this with rdmd I get the message: "Error: this for c needs to be type A not type B". Is there a way to call c from d?