Re: copying sigc::signals



On Thu, 2010-03-04 at 22:46 -0600, Jonathon Jongsma wrote:
> this means that any classes containing sigc::signals
> that don't want their signals to be triggered when their copies are
> emitted *must* define a custom assignment operator and copy
> constructor
> that intentionally doesn't copy these signal members. 

Well, I think any class that doesn't want semi-random behaviour from a
auto-created copy constructor should implement a custom copy
constructor.

I'd expect copying a signal to do _something_ if it's possible.

-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com



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