Hello
How can I solve the next problem:
The problem is I want to pass a reference of object (class C) which wasnt 'built' yet to class B.Code:class A { public: A() : m_b(m_c) { } B m_b; C m_c; }; class B { public: B(C &ref) : m_c(ref) { } C &m_c; };
What can I do about this?