a.h
class CB;
class CA{
...
CB *m_pB;
}
a.cpp
#include "a.h"
#include "b.h"
b.h
#include"a.h"
class CB{
...
CA m_A;
}
b.cpp
#include "b.h"
class CB;
class CA{
...
CB *m_pB;
}
a.cpp
#include "a.h"
#include "b.h"
b.h
#include"a.h"
class CB{
...
CA m_A;
}
b.cpp
#include "b.h"