Is there a reason you can't use events/delegates? They should be
faster than boost::signal and boost::function
On Wed, 19 Jan 2005 03:40:37 +0100, Vasco Lohrenscheit
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 ?
It seem already not be allowed to get the adress of the method &OpenGlTestGUI::testMethod (compile error c2843, vc++7.1). Are there any work arounds? Has anybody alread used boost::bind and boost::signal with managed classes?
best regards,
Vasco Lohrenscheit
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Cory Nelson http://www.int64.org