Example code for libsigc++