7 Sep
2009
7 Sep
'09
9:20 p.m.
void Function_object::slot_func(char c) { cout << "Hurrah, I received char c: " << c << endl; }
void Function_object::run() { Base* my_base_pointer = new Derived(); my_base_pointer->connect(boost::bind(&Function_object::slot_func, \ this)); // Here I get errors from the Boost.Signals2 headers
my_base_pointer->connect(boost::bind(&Function_object::slot_func, this, _1));