struct A {struct A * a }class B { struct A * b}b->a=b
https://zhidao.baidu.com/question/1502344179154298699.html