Re: copying sigc::signals
- From: Murray Cumming <murrayc murrayc com>
- To: Jonathon Jongsma <jonathon quotidian org>
- Cc: gtkmm list <gtkmm-list gnome org>
- Subject: Re: copying sigc::signals
- Date: Fri, 05 Mar 2010 08:32:08 +0100
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]