Re: sigc::connection and std::vector
- From: fr33domlover <fr33domlover mailoo org>
- To: Phillip Susi <psusi ubuntu com>
- Cc: gtk-list gnome org
- Subject: Re: sigc::connection and std::vector
- Date: Sat, 25 Jan 2014 22:01:17 +0200
This is not a gtk+ issue, you should ask on the gtkmm mailing list.
On ד', 2014-01-22 at 21:01 -0500, Phillip Susi wrote:
I have an object that I wanted to maintain a sigc::connection in and
disconnect it when the object is destroyed. The object is also stored
in a std::vector, which seems to copy and destroy objects as needed
when resizing the array. It looks like when this happens, and the
original object is destroyed, and disconnects the connection, it
breaks the connection even though the object has been copied,
including the connection.
Is sigc::connection not copy safe using ref counting? How can you get
around this?
_______________________________________________
gtk-list mailing list
gtk-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]