Re: [sigc] a question about the old sigc++1 and scopes



Hi!

It shouldn't be a problem to override slots with operator= repeatedly. What kind of troubles do you run into?

Regards,

  Martin


Am 05.04.2005 02:43:55 schrieb(en) Paul Davis:
ardour is still stuck using sigc++1 (not for long!) and i've run into
a problem that might be related to my (ab)use of the sigc++1 scope
system.

if i have a SigC::Slot0<void> object stored in another (persistent)
class object, will it work for me to continually use
operator=(SigC::Slot0<void>) to assign/copy some other slot into my
store, over and over again?

valgrind is revealing some backtraces that suggest otherwise. i don't
confess to understand how the scope system in sigc++1 (maybe even in
2) actually works, so i can't quite judge this for myself.

--p

_______________________________________________
libsigc-list mailing list
libsigc-list gnome org
http://mail.gnome.org/mailman/listinfo/libsigc-list





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