I know that the question has already been asked and answered, but more than a year ago, and it seems that there are new alternatives.
So, I encode the game using the SFML library (which I find pretty cool right now) m is looking for an easy and fast event / delegate library.
After some research and discarding the classic ones ( Boosts.Signals , libsig ++ ), I found " cpp-events ". This is not very popular right now, as it is a very recent library, but it seems to be the worst of all to be tested. I would be very interested to know someone tried here and can give a little feedback.
Do you have any other similar (or better) options to offer? I look at quite real projects (which will be supported) than the answers on the forums.
Thanks!
c ++ signals-slots
Pym
source share