
Vasco Lohrenscheit wrote:
Hi,
is there a easy way/workaround to use methods of managed classes with boost::bind?
boost::signal
testSignal; public __gc class TestManagedClass { public:
TestManagedClass() {testSignal.connect(boost:bind(???)); } void test(int i); };
how can I connect the TestManagedClass::test method of a instance of a TestManagedClass to the signal ?
The following code appears to work. Whether it qualifies as easy is another
matter.
#include