Suppose I want something of this sort, in one .cpp source file:
.cpp
class A { public: void doSomething(B *b) {}; }; class B { publi
put at the first line:
class B;