typesafe callback system
I make GUI programs in C++ with gtkmm library. http://www.gtkmm.org
Btw, this library use typesafe callback system for standard C++, that is
The explanation is like this:
libsigc++ implements a typesafe callback system for standard C++. It allows you to define signals and to connect those signals to any callback function, either global or a member function, regardless of whether it is static or virtual.
It also contains adaptor classes for connection of dissimilar callbacks and has an ease of use unmatched by other C++ callback libraries.
However I still don't get it. Can you explain this complicated things to newbie like me???? What is actually typesafe callback things? It would be great if you provide simple example.....