6 Jun
2007
6 Jun
'07
3 p.m.
On Wed, 06 Jun 2007 23:38:36 +0900, David Klein
Boris wrote:
void Hello() { } boost::signal
sig; sig.connect(&Hello); // OK sig.disconnect(&Hello); // Error [...]Hi Boris, http://www.boost.org/doc/html/signals/tutorial.html#id1627590
Thanks for the link! But do I really have to collect and maintain various connection objects for a signal? There is out-of-the-box support for attaching callback functions to a signal. But in order to detach them I have to maintain the connection objects for all the callback functions myself? What's the rationale for this? Or is there is any utility class in Boost.Signal I miss? Boris