2 Sep
2013
2 Sep
'13
10:22 a.m.
+-> 1 -------> 2 -+ | | +-----------------+
+-> 1 -+ +-> 2 -+ | | | | +------+ +------+
have a container to hold smart pointer to every object , and let them use weak pointer to each other. thus cyclic avoided. cyclic means wrong "owner". if 2 is not owned by 1, how can you use shared pointers?