Hmm, I think I am out of luck here but still have to ask.
Class A includes a member instance of class B.
Class B includes a member instance of class A (actually just a pointer to the instance of A which owns it).
There is no way to declare this, is there? I was hoping I could go:
but B referred to in A produces "error: field B has incomplete type"Code:class A; class B; class A { complete declaration } class B { complete declaration }
Maybe I can use a void pointer here for field B?