3 Feb
2009
3 Feb
'09
12:16 a.m.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 02 February 2009 18:45 pm, mararual wrote:
CHelloService::connection_t CHelloService::connect(signal_t::slot_function_type subscriber) { return m_sig.connect(subscriber); }
You should forward slots with signal_t::slot_type, not signal_t::slot_function_type. I believe the type erasure that occurs when assigning something to slot_function_type will prevent visit_each from finding any boost::trackable objects for automatic connection management purposes. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFJh4zp5vihyNWuA4URAvS8AKCtWS20G/driWGZmLEaXh3bsz1dIQCfU4Cv asnslZ58hbrCPgmEbkL6Kzw= =U6/1 -----END PGP SIGNATURE-----