Re: copying sigc::signals



2010/3/5 Chris Vine <chris cvine freeserve co uk>:
> It is probably better simply to disallow copying of signals, rather
> than do shallow copies resulting in the curious effects you mention.

Yes - under no circumstances should signals be copyable. This is what Boost did.
By the way, is using Boost.Signals2 considered for gtkmm3? It might be
less work than fixing libsigc++ (which is not only non-threadsafe but
also very slow in some cases.)

Regards, Krzysztof


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]