Including similar types in header files is leading me to think you may have circular dependencies. It is recommended to use forward declarations in headers, and it appears from your Vector2D
definition that instead of the #includes
, you can simply use:
class Vector3D;
class Vector4D;