Boost.Signals: Class trackable#include <boost/signals/trackable.hpp>
The trackable class is responsible for managing the automatic disconnection of signals and slots when an object that is bound as part of a slot is destroyed. The trackable class may only be used as a base class for some other class; when used as such, that class may be bound to function objects used as part of slots. The manner in which a the trackable object tracks the set of signal-slot connections it is a part of is implementation-defined.
namespace boost {
namespace signals {
class trackable {
protected:
trackable();
trackable(const trackable&);
~trackable();
trackable& operator=(const trackable&);
};
}
}
trackable& operator=(const trackable& other);
*this