   std::list errors.
  I'm trying to use a forward declared class (IEntity) with a linked list.std::list<IEntity*> mEntityList;I keep getting these errors"error: using-declaration for non-member at class scope error: expected `;' before '<' token"The std::list is a data member of my class.Thanks.   
  Show more code. At least the full class declaration.   ;  Did you include <list>?   ;  This isn't directly related to your question, but having std::lists of raw pointers can be more work than you think.  boost::ptr_list might be helpful.   ;class IEntity;class IGameManager{ public://=============================================//Methods//============================================= void draw();// Draws and updates graphics, AI, and physics. void quit();//Exits the game. void pause();//Pauses the game. private://=============================================//Data//=============================================std::vector<IEntity*> mEntityList;};That's the declaration, it does it with std::vector too.   ;  Post the file in its entirety. (Also, add a comment if you can indicating which line the error is associated with.)   ;  You need to #include<vector> at the top of your header file (Assuming that class is declared in a header of course).   