1 /* Copyright 2003, The libsigc++ Development Team
3 * Assigned to the public domain. Use as you wish without
10 #include <sigc++/sigc++.h>
12 void on_print(const std::string& str)
19 sigc::signal<void, const std::string&> signal_print;
21 signal_print.connect( sigc::ptr_fun(&on_print) );
23 signal_print.emit("hello world\n");