Code: Alles auswählen
class FOO
{
protected:
    virtual void foo();
};
class BAR : publich FOO
{
void doSomething();
protected:
     virtual void foo();
}
void BAR::doSomething()
{
   //somecode
   function(boost::bind(&FOO::foo, this _1));  //compiler error das foo protected ist
   function(boost::bind(&BAR::foo, this _1));  //funktioniert ruf aber die implementierung der abgeleiteten Klasse auf was ich nicht möchte
}


