Redefinition C++ Issue, Multiple Header

Circular dependencies are just bad design. If you feel the urge to have a child/owned object “know about” its parent/owner, you should pass the child a std::function instead of a full reference to the owner.

Leave a Comment