From: Simon Pickles (sipickles_at_[hidden])
Date: 2008-07-13 06:53:22


Hi,

What is the correct syntax to test whether a signal has any slots
connected?

boost::signal<void(void)> sig;

if (sig)
    DoSomething();

This doesn't compile.

Thanks

Simon