Boost logo

Boost Users :

From: Vasco Lohrenscheit (valoh_at_[hidden])
Date: 2005-01-18 21:40:37


is there a easy way/workaround to use methods of managed classes with

boost::signal<void (int value)> testSignal;

public __gc class TestManagedClass

         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 list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at