From: Nat Goodspeed (nat_at_[hidden])
Date: 2008-07-12 10:26:45


Simon Pickles wrote:

> I am using boost::functions to provide a simple event system, but have
> come across a problem.

You might want to consider Boost.Signals, which supports implicit
disconnect on destruction.

For more control over implicit disconnect, consider thread_safe_signals,
which I believe is in the vault.