   Static classes and STL map
  HeloIs it ok to insert/erase classes with static functions andmembers in STL map. Is it posible to get memory leaks this way? Static function use pointers to class as a parameter sothat they can operate on itself.Thnks. 
  ''objects'', not ''classes''. Could you post some code, I think your explanation is inadequate. My initial answer is that you won''t get memory leaks but you might get some other problems. 