Nice pattern for managing objects in the game! Two things are not clear for me:
1. "static std::list list;" => Compiler complains of missing template parameter. If I tried "static std::list<Foo*> list;" then I'm not able to declare the list as a static member of the Foo class.
2. Isn't dangerous to define the list as static? Stackoverflow.com
kovmat86
Máté joined
This member has provided no bio about themself...