link to page with answers about cyclical dependency
solution: use a forward identifier, like 'class Parent' above the definition of the 'class Child' and vice versa.
"There are more in-depth ways of resolving cyclic dependencies, but they are beyond the scope of this article. In 99% of cases, using forward declarations and favoring normal functions in C./.CPP files over inline functions in header files will be enough. "