Boost logo

Boost Users :

From: Frank Mori Hess (fmhess_at_[hidden])
Date: 2008-07-19 15:02:47


On Sunday 13 July 2008 07:21, Igor R wrote:
> if (!sig.empty())
> doSomething();
>
> But if you just want to "fire" your signal, you don't have to test its
> emptiness.
>

Actually, if you have a non-void return type for the signal, the default
combiner (boost::last_value) requires a slot to be connected.




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