|
Boost : |
From: Thore Karlsen (sid_at_[hidden])
Date: 2005-07-27 07:44:57
On Tue, 26 Jul 2005 21:45:06 +0100, Rebooted <rebooted_at_[hidden]> wrote:
>In my program I need to store a map of signals, with an integer id
>corresponding to a signal in the map.
>
>Objects can request to be informed when another a specific message is
>emitted by connecting a member function to the signal in this map at
>the index corresponding to that message type.
>
>However, since boost::signal inherits noncopyable, it cannot be stored
>in a map. What are the reasons for signal being noncopyable, and is
>there any chance this could be changed in the future?
Is there any reason you can't let the signals be owned by some other
object(s), and just store pointers to the signals in the map?
-- Be seeing you.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk