Boost logo

Boost Users :

Subject: Re: [Boost-users] [Signals] trackable detection for user defined callabcks
From: Szymon Gatner (szymon.gatner_at_[hidden])
Date: 2011-10-30 19:39:08


>
> signals2 does provide a trackable base class that is used the same way as
> the trackable base class in the original library.  Disconnection by base
> class cannot be made thread safe in the general case however, since the
> base class destructor does not run until after the derived class destructor
> has already run.
>

Then why would I use Signals2 in the first place? ;)

I would just like to understand how to make custom callback type or just
even Boost.Function in combination with trackable work with Signals.

Cheers,
Simon


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net