I am looking for the definition of when I am allowed to do forward declaration of a class in another class's header file:
Am I allowed to do it for a base class, for a class held as a member, for a class passed to member function by reference, etc. ?
转载于:https://stackoverflow.com/questions/553682/when-can-i-use-a-forward-declaration