Boost logo

Boost :

From: Jody Hagins (jody-boost-011304_at_[hidden])
Date: 2004-09-16 09:03:01

AFICT, the rationale for copying a slot is missing, hence the following

  boost::signal<void (int)> some_signal;
  Some_Slot slot1;
  Some_Slot slot2(slot1);

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?


Boost list run by bdawes at, gregod at, cpdaniel at, john at