I am getting this error while implementing the following:
class A; class B;
class A {
B b_obj ; //Here comes the error
...
}
class B {
...
A a_object;
...
}
One thing I have observed is that if I shift class B upwards then it gets removed but since I am using two way linking, which also has class A's object in B hence I am not able to get rid of both the errors.