C+11 has std::function<> which is a bit like sigc::slot, though C++11
doesn't have anything like sigc::signal<>. I played with that here:
http://www.murrayc.com/permalink/2013/07/08/c-in-glom-shared_ptr-and-slotsfunctions/
I've noticed that std::function<> works with libsigc++, as in the code
below, but I wonder why it works. Can anyone explain?