Forward Declaration using for a template method

Why do I get an error when using a template method with a forward declared class? I don’t actually need a definition of this class, only a declaration. Or maybe I have misunderstood how it actually works? Do I really need to include a corresponding .h file of class B? Edited: And why then does… Read More Forward Declaration using for a template method