using namespace boost;
struct HelloWorld{ void operator () () const { std::cout << "test hello world" <<std::endl; }};
int main(){ boost::signal<void ()> sig;
HelloWorld hello; sig.connect(hello);
sig();}