On Wednesday 26 June 2002 2:22 pm, Lars Gullik Bjønnes wrote:
> Angus Leeming <[EMAIL PROTECTED]> writes:
> | Lars,
> |
> | I find that there's no problem in using boost::bind on a class that is
> | NOT derived from boost::trackable. So what's the point of
> | boost::trackable?
>
> That you can remove/delete the object from the trackable class and
> have this reflected in the signal (i.e. the slot gets automatically
> deleted from the signal)
>
> same purpose as SigC::Object

I could not connect to a class object that was not derived from SigC::Object. 
Failed at compile time. The fact that I CAN connect to a class object that is 
not derived from boost::trackable suggests that this is an optiisation thing 
only.

Especially since all seems to work fine.

Anyway, I'lll add the necessary derivations. Just found this interesting and 
worth mentioning.

Angus

Reply via email to