Hello
I'm having problems with compiling..
The error I'm getting is: error C2079: 'A::m_b' uses undefined class 'B'
header1:
header2:Code:#include "header2.hpp" class B; class A { public: B m_b; };
What am I doing wrong?Code:#include "header1.hpp" class A; class B { public: A &m_a; };