6 Jan
2011
6 Jan
'11
6:52 p.m.
If I have one only signal that can be connected at different times to several different slots, then I create several boost::signals2::connection, one for each slot but for that same only signal, if I disconnect one of the connections, will all connections be disconnected or just that particular slot?
Actually, you don't "create" boost::signals2::connection instance, but receive it from yourSignal.connect(youSlot) method, don't you? When you disconnect() this connection object, you detach only "yourSlot", while other slots connected to the same signal keep receiving notifications.