I\'ve been trying to implement a C#-like event system in C++ with the tr1 function templates used to store a function that handles the event.
I created a vector so
I had a similar problem and found a solution to it. I used some C++0x features, but only for convenience, they are not an essential part. Take a look here: > Messaging system: Callbacks can be anything