Re: sigc::connection and std::vector

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

 



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@xxxxxxxxx
> https://mail.gnome.org/mailman/listinfo/gtk-list


_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list





[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux