
On Sep 23, 2004, at 5:54 AM, Jody Hagins wrote:
Repost since a week has gone by without response (which seems like an eternity on this list ;-).
Sorry, I've been (and am) on the road.
AFICT, the rationale for copying a slot is missing, hence the following questions...
boost::signal<void (int)> some_signal; Some_Slot slot1; some_signal.connect(slot1); Some_Slot slot2(slot1); some_signal(42);
The above code will only signal slot1. If slot2 is a copy of slot1, should it also get the signal? I know it does not work that way, but I was wondering why that decision was made. Also, if I *do* want the copy to receive the same signals, how can I do so?
Just connect both slots to the signal? some_signal.connect(slot2); I'm not really sure how to answer the question. It seems _very_ odd to me to expect that both slot1 & slot2 be connected to some_signal through a single call to connect. Doug