Original Post
Why do I always run into these when I've had little sleep and less coffee:
issue is due to inclusion of c.h in b.h, if not for that project compiles fine. What must be declared to use a reference to an instance of C in B
[Edited by - Burnt_Fyr on October 27, 2010 8:34:55 PM]
// a.hclass b; // forward declarationinclude "b.h" //b.hclass a; // forward declarationinclude "a.h"include "c.h" //error c2079//c.hinclude "a.h issue is due to inclusion of c.h in b.h, if not for that project compiles fine. What must be declared to use a reference to an instance of C in B
[Edited by - Burnt_Fyr on October 27, 2010 8:34:55 PM]