I am working with a c++ library that is not written by me.
Some header files include other classes, but still have sort of "duplicate" empty definition of the class. What is the purpose of this behaviour?
#include "OtherClass.h"
class OtherClass;
class ThisClass {
// definitions here
};