prog.cpp:4: error: ISO C++ forbids declaration of ‘list’ with no type
prog.cpp:4: error: typedef name may not be a nested-name-specifier
prog.cpp:4: error: expected ‘;’ before ‘<’ token
prog.cpp:5: error: ‘EntityList’ has not been declared
prog.cpp:5: error: ISO C++ forbids declaration of ‘iterator’ with no type
prog.cpp:5: error: typedef name may not be a nested-name-specifier
prog.cpp:5: error: expected ‘;’ before ‘iterator’
prog.cpp:7: error: expected `)' before ‘event’
prog.cpp:15: error: ‘Entity’ has not been declared
prog.cpp:23: error: ‘iterator’ does not name a type
prog.cpp:27: error: ‘iterator’ does not name a type
prog.cpp:36: error: ‘EntityList’ does not name a type
prog.cpp: In member function ‘void EntityCollection::onEvent(int*)’:
prog.cpp:16: error: ‘mQueue’ was not declared in this scope
prog.cpp: In member function ‘bool EntityCollection::emtpy() const’:
prog.cpp:20: error: ‘mQueue’ was not declared in this scope