fork download
  1. #include <map>
  2. #include <list>
  3.  
  4. using namespace std;
  5.  
  6. class Foo
  7. {
  8. };
  9.  
  10. class Message{
  11. public:
  12. static void UnRegister(unsigned int, std::list<Foo*>::iterator){}
  13. };
  14.  
  15.  
  16.  
  17. int main()
  18. {
  19. std::map<unsigned int, std::list<Foo*>::iterator> listeners;
  20.  
  21. Message::UnRegister(0, listeners[0]);
  22. }
Success #stdin #stdout 0s 3424KB
stdin
Standard input is empty
stdout
Standard output is empty